I wasn't quite sure what you were asking, but I got my logging working properly with Maven test by adding following configuration to pom.xml.
<plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.2</version> <configuration> <useFile>false</useFile> <printSummary>true</printSummary> <forkMode>pertest</forkMode> <systemProperties> <property> <name>log4j.configuration</name> <value>file:${basedir}/src/test/resources/log4j.properties</value> </property> </systemProperties> </configuration> </plugin> By this I have differend log4j settings with Junit tests and development. -- View this message in context: http://www.nabble.com/surefire%2C-junit-logs%2C-and-forking-tp14599065s177p14611471.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]