JBoss Community

JBoss Developer Studio 5 - console log output gone with "Run as Java Application" and using org.apache.commons.logging.LogFactory

created by b.b. in JBoss Tools - View the full discussion

Hi,

since using JBoss Developer Studio 5 the console log output is gone when running a class with "Run as Java Application" and using org.apache.commons.logging.LogFactory.

 

The log output appeares fine when using org.apache.log4j.Logger.

 

Since I like to test code behavior with simply running a Java class and watching the log4j output on the console window of JBoss Developer Studio im missing this feature dearly.

 

How come this worked fine in JBoss Developer Studio 4?

 

I would not like to change all loggers in all classes to org.apache.log4j.Logger instead of utilizing the open org.apache.commons.logging.LogFactory.

 

All necessaryties are in place (e.g. log4j.properties on the classpath), I also tried with commons-logging.properties, no result.

 

Regards, b.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community