This content has been marked as final.
Show 2 replies
-
1. Re: seam log.debug and log.trace
thejavafreak Oct 28, 2007 10:13 PM (in response to terryb)You must set your logging level for the console to be DEBUG. The default for JBoss AS is setted to INFO. INFO is higher that DEBUG. So DEBUG levels won't be printed out.
Go edit your $JBOSS_HOME/server/default/conf/jboss-log4j.xml
Find the CONSOLE appender and set the threshold to DEBUG.
But this is not recommended since JBoss AS has a lot of debug log statements. Another way is to set log level in your application to INFO. -
2. Re: seam log.debug and log.trace
terryb Oct 29, 2007 2:13 AM (in response to terryb)thanks. I was using log.debug in try catch block to expecting it print exception stack trace. I guess I will need to specifically print stack trace in catch block when needed and keep AS logging to info.