seldo
13 years agoNew Contributor
Log4j configuration with JUnit automation
I'm automating my SoapUI tests with JUnit, but I'm having strange difficulties when it comes to configuring Log4j.
I have created a log4j.xml file that specifies only a FileAppender (no console appender) and a global logging level of WARN. However, only _my_ logging statements go to my log file. All of the SoapUI log messages go to the console, and even DEBUG-level messages are logged.
It's almost as if SoapUI is reconfiguring log4j after my configuration is complete. Any ideas?
I have created a log4j.xml file that specifies only a FileAppender (no console appender) and a global logging level of WARN. However, only _my_ logging statements go to my log file. All of the SoapUI log messages go to the console, and even DEBUG-level messages are logged.
It's almost as if SoapUI is reconfiguring log4j after my configuration is complete. Any ideas?