You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Samuel Cheung <SC...@Novarra.com> on 2002/08/15 18:53:44 UTC

How to add Filter to an Appender

Hi,

Could some one please tell me how to add a Filter to an appender in log4j
config file?

I add this in my config file
log4j.appender.A2.filter=org.apache.log4j.varia.LevelMatchFilter

but I got the following warning:
log4j:WARN Failed to set property [filter] to value
"org.apache.log4j.varia.LevelMatchFilter". 

Thanks.
Sam

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>