My project has a log4j.properties file on the classpath, yet whenever I run a JUnit test, it ignores the settings in the log4j properties file.
All log4j output goes to STDERR and it is set for INFO and up. I can’t figure out where the log4j appender and other settings are being set. None of the jar files that I have in the project contain a log4j properties file, yet it’s obvious that a custom appender is getting set since the log4j message format is not a typical format.
How can I set Junit to use the log4j setting of my project?