This content has been marked as final.
Show 3 replies
-
1. Re: Changing Seam Logger Category to DEBUG in JBoss
shane.bryzak Feb 14, 2008 8:03 AM (in response to waacow)You can set the logging threshold within the appender, like this:
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="Target" value="System.out"/> <param name="Threshold" value="DEBUG"/>
-
2. Re: Changing Seam Logger Category to DEBUG in JBoss
waacow Feb 14, 2008 8:34 AM (in response to waacow)I tried setting the logging threshold to 'DEBUG' but that really make the log very verbose and really all I'm interesting in during normal application development is the DEBUG output from our package 'com.example.*' and not DEBUG output from JBoss or Seam.
-
3. Re: Changing Seam Logger Category to DEBUG in JBoss
norman Feb 14, 2008 3:30 PM (in response to waacow)In general, this is just hard to do with log4j. You need to go change the log levels of other things to INFO if you don't want their DEBUG.
A simpler option would be to create a new seam.log file and set that as the appender-ref for your seam log messages. Then your Seam messages (and only your seam messages) will go to the new log file exactly the way you want them to..