flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ufuk Celebi <...@apache.org>
Subject Log4j configuration JUnit vs. Scalatest in IntelliJ
Date Wed, 25 Feb 2015 13:02:02 GMT
Hey Flinksters and IntelliJers, ;-)

the tests resources directory of each Maven module contains a log4j-test.properties files,
which gets picked via the classpath by JUnit tests, but not Scalatest. Instead Scalatest picks
up log4j.properties, but JUnit doesn't.

It works when I specify the file via the log4j.configuration property as a VM argument in
the default run config for Scalatest.

Is there another solution? And why is it behaving like this?

– Ufuk
View raw message