Hi Doug, Thank you for the setup information, but I don't find it to be a good enough solution. Basically because we test cases that implement/extend classes other than JUnit TestCase as well.
Still hoping that someone has had the same issue and have a solution. Regards, Jimisola Jimisola, FWIW, our team developed a small set of abstract test support classes that extend Junit TestCase. The base class of this set of classes is LoggingTestCase which configures log4j from a non-default " test-log4j.properties" file in the same package as the test case. Such a setup handles #2 and #3 quite nicely without any conflict with #1. HTH, Doug -- View this message in context: http://www.nabble.com/How-to-setup-log4j-with-different-settings-for-main%2C-test-and-developmen-t1766805.html#a4810402 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
