Thanks very much, Andrew, I'll try it. Amazing this isn't easier. -Adam
On Jan 3, 2008 11:09 AM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > http://wiki.apache.org/logging-log4j/UsefulCode > > Look for "Configuring Log4J For Testing With Maven" > > Good luck getting the logs into the test xml files though, that is > what doesn't work for me > > -Andrew > > > On Jan 3, 2008 8:32 AM, Adam Fisk <[EMAIL PROTECTED]> wrote: > > OK, anyone know what the deal is with surefire, logs, and forking? I > > have my log4j.properties files in src/test/resources and > > src/main/resources. For tests, my changes to log files do nothing > > unless I set "<forkMode>never</forkMode>" in my surefire plugin > > config. Even then, the file in src/main/resources overrides my test > > resources file *when running tests*. > > > > Anyone know how to just get test logs working with surefire without > > disabling forking? I'm running these on multiple systems and seeing > > the same thing everywhere -- maven 2.0.6, 2.0.7, Linux, OS X, etc. > > > > Thanks very much. > > > > -Adam > > > > > > -- > > http://www.littleshoot.org > > Open Source, Open Standards, Open Data > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.littleshoot.org Open Source, Open Standards, Open Data --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]