On 25 Feb 2015, at 16:35, Till Rohrmann <trohrm...@apache.org> wrote:
> The reason for this behaviour is the following: > > The log4j-test.properties is not a standard log4j properties file. It is > only used if it is explicitly given to the executing JVM by > -Dlog4j.configuration. The parent pom defines for the surefire plugin a > corresponding argument line with this option. Intellij uses these maven > settings for executing Java JUnit tests. For the scala tests which are > executed with JUnitRunner, these settings are not used. I don't know why > this is the case for the scala tests. But in order to get consistent > behaviour you can turn off the maven settings import by unticking Build, > Execution, Deployment -> Build Tools -> Maven -> Running Tests -> argLine > in the IntelliJ settings. Thanks. Makes more sense now. :-)