-
1. Re: 5.1 logging issue
peterj Aug 24, 2010 9:42 AM (in response to brettallen)Do you see this line in the FILE appender in the jboss-log4j.xml file:
<param name="Threshold" value="${jboss.server.log.threshold}"/>
By default, jboss.server.log.threshold is set to INFO. You need to either pass a new setting on the command line, or change/delete/comment-out this line in the file.
-
2. Re: 5.1 logging issue
rohit.macherla Sep 7, 2010 2:16 AM (in response to peterj)Hi Peter,
Doesn't adding a <category> element override the "Threshold" value of the FILE appender and provide us with more control on the log file ? I am a bit confused here, because I remember reading that the <category> elements exist to give us a better control over what part of the application requires deep/shallow logs.
Cheers,
Rohit M
-
3. Re: 5.1 logging issue
peterj Sep 9, 2010 6:18 PM (in response to rohit.macherla)No. Both <category> and Threshold are filters, but at different levels. A <category> indicates whether the logging system should even be concerned with the log message. If the logging system decides that is should be concerned with the log messages, it then polls each appender to see which ones will accept it based on their Threshold settings.