You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2020/10/30 10:38:00 UTC

[jira] [Created] (FLINK-19900) Wrong property name for surefire log4j configuration

Dawid Wysakowicz created FLINK-19900:
----------------------------------------

             Summary: Wrong property name for surefire log4j configuration
                 Key: FLINK-19900
                 URL: https://issues.apache.org/jira/browse/FLINK-19900
             Project: Flink
          Issue Type: Bug
          Components: Build System
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.12.0


Log4j uses {{log4j.configurationFile}} system property for passing a configuration file. In our surefire configuration we use {{log4j.configuration}} property instead which has no effect.

{code}
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.22.1</version>
				<configuration>
					<forkCount>${flink.forkCount}</forkCount>
					<reuseForks>${flink.reuseForks}</reuseForks>
					<trimStackTrace>false</trimStackTrace>
					<systemPropertyVariables>
						<forkNumber>0${surefire.forkNumber}</forkNumber>
						<log4j.configurationFile>${log4j.configuration}</log4j.configurationFile>
						<hadoop.version>${hadoop.version}</hadoop.version>
						<execution.checkpointing.unaligned>true</execution.checkpointing.unaligned>
						<project.basedir>${project.basedir}</project.basedir>
					</systemPropertyVariables>
					<argLine>-Xms256m -Xmx2048m -Dmvn.forkNumber=${surefire.forkNumber} -XX:+UseG1GC</argLine>
				</configuration>
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)