Update to my original question - it seems that maven testng is not reading the log4j.configuration sysproperty, or I am not setting it correctly.
maven test -- reads from properties/log4j.properties, without any special settings
maven testng -- does not. running maven -Dlog4j.configuration=properties/log4j.properties testng also does not work
Does anyone know how to set the location of the log4j properties file for use by the maven testng plugin? If I run the test directly without using maven it seems to initialize logging correctly.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=10388&messageID=21904#21904