This content has been marked as final.
Show 2 replies
-
1. Re: log4j, isDebugEnabled, performance
nsakiya Jan 26, 2006 4:54 PM (in response to klinge)I might get the same problem as you mentioned. By setting the following inside an DailyRollingFileAppender:
log.debug() doesn't print anything into the log file, as expected. But how come isDebugEnabled() always returns true, no matter I set Threshold to INFO or DEBUG? I'm also using TCLFilter inside the appender, but I doubt it has anything to do with this.
Did I set it wrong? Am I not supposed to set Threshold inside the appender? Any idea?
Thanks. -
2. Re: log4j, isDebugEnabled, performance
nsakiya Jan 26, 2006 5:14 PM (in response to klinge)Sorry, this wasn't properly printed previously.
<param name="Threshold" value="INFO"/>