This content has been marked as final.
Show 2 replies
-
1. Re: Setting log level lower than threshold for certain classes
jaikiran Apr 16, 2010 6:19 AM (in response to getaceres)Jose Antonio wrote:
Is there a way to get what I want?
Set the Threshold of the appender to DEBUG and then set the "root logger" priority level to INFO. That way, you won't have to create multiple categories and sepcify the levels:
<appender name="FILE"> ... <param name="Threshold" value="INFO"/> ... </appender> <category name="com.something"> <priority value="DEBUG"/> </category> <root> <priority value="INFO"/> <appender-ref ref="CONSOLE"/> <appender-ref ref="FILE"/> </root>
-
2. Re: Setting log level lower than threshold for certain classes
getaceres Apr 16, 2010 7:06 AM (in response to jaikiran)Thanks, it worked.