This content has been marked as final.
Show 3 replies
-
1. Re: log4j logging not working as expected! What am I doing w
genman Oct 24, 2006 3:14 PM (in response to forumer)Try turning on debug, look at the top of the log4j.xml file, should be a setting you can use.
-
2. Re: log4j logging not working as expected! What am I doing w
forumer Oct 24, 2006 4:31 PM (in response to forumer)Thanks! Your suggestion to turn debug="true" made me aware of the "threshold" in the "configuration" element. That was set to "info". Looks like this threshold overrides all other thresholds, because changing it to "debug" made the debug level statement appear.
Do you think I am interpreting the threshold attribute correctly?
Thanks -
3. Re: log4j logging not working as expected! What am I doing w
jaikiran Oct 24, 2006 11:40 PM (in response to forumer)Threshold is an attribute on the appender, that tells it which "logger levels" (messages) should be ignored and which ones should be accepted.