logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Appender filtering
Date Sat, 01 Mar 2008 14:03:49 GMT

On Feb 29, 2008, at 5:10 PM, Jacob L. Anawalt wrote:

> Jacob L. Anawalt wrote:
>> I am getting info and debug messages in my system logs.
>
> I have purchased the log4j manual and it looks like I have the  
> appender threshold settings correct.
>
> Here is the output of the attached program and configuration file.
>

..
> log4j.appender.CONSOLE.Threshold=WARN;
>
> log4j.rootLogger=ALL, CONSOLE
>


I think the trailing semi-colon after WARN is messing you up.  If it  
can't find a level with the specified name (in this case "WARN;"), it  
will default to "DEBUG".

Mime
View raw message