logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Logging of just ONE priority level with LevelMatchFilter
Date Mon, 11 Feb 2002 13:34:19 GMT
Kristelle,

The PropertyConfigurator does not support filters only the DOMConfigurator 
does. Regards, Ceki

At 14:13 11.02.2002 +0100, you wrote:
>Hi all,
>
>I have a problem with class LevelMatchFilter.
>The properties file is  :
>....
>log4j.appender.DebugFile = org.apache.log4j.RollingFileAppender
>....
>log4j.appender.DebugFile.filter =
>org.apache.log4j.varia.LevelMatchFilter
>log4j.appender.DebugFile.filter.LevelToMatch=DEBUG
>log4j.appender.DebugFile.filter.AcceptOnMatch=true
>
>
>But, there is not correct because the outputs are:
>log4j:WARN Failed to set property filter to value
>"org.apache.log4j.varia.LevelM
>atchFilter". No setter for property
>
>Any help would be appreciated.
>
>Thanks,
>
>Kristelle Lassagne


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message