[jboss-dev-forums] [JBoss OSGi Development] - Re: JBoss OSGi logging policy

thomas.diesler@jboss.com do-not-reply at jboss.com
Fri Nov 20 04:29:49 EST 2009


anonymous wrote : 
  | As I've said, it should be Hudson or Maven that redirects logging to a file using the log4j.configuration system property. 
  | 

yes, I've tried that by setting the surefire system properties. It worked for some test cases but not all. I didn't look into the log4j initialization to find out why it did not work for all cases.

In another attempt to make you happy, I now added log4j-console.xml to the test resources.

Please put the log4j.configuration property in your test setup like shown below. This should produce eclipse console logging.

http://drop.io/sfodign

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266700#4266700

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266700



More information about the jboss-dev-forums mailing list