This content has been marked as final.
Show 4 replies
-
1. Re: Logging problems
luiz.filipe.abrahao Feb 3, 2010 12:06 PM (in response to luiz.filipe.abrahao)I forgot to tell that the log4j.jar, slf4j-log4j12.jar and the slf4j-api.jar are in the classpath.
If I debug I see the variable 'log' being an istance of LogImpl.
Thanks
-
2. Re: Logging problems
ivan.indrawan Feb 3, 2010 1:59 PM (in response to luiz.filipe.abrahao)Have you tried putting the log4j configuration in jboss-log4j.xml?
the default location is ${JBOOS_HOME}/server\default\conf -
3. Re: Logging problems
luiz.filipe.abrahao Feb 3, 2010 2:49 PM (in response to luiz.filipe.abrahao)Thanks for you reply Ivan,
I'm deploying the application onto a Glassfish server though.
Thanks!
-
4. Re: Logging problems
zenig.szimmerman.sunshineradiology.com Jun 11, 2010 3:32 PM (in response to luiz.filipe.abrahao)I am having the same issue with Glassfish v2. I inject the Log using @Logger though there are no messages in the Glassfish Server.log. I have tried including a basic log4j.xml in nearly every directory of the deployment without success. Is there something I am missing?