I do not believe that filters are supported in the PropertyConfigurator.
You'll need to use DOMConfigurator.

-Mark

> -----Original Message-----
> From: Samuel Cheung [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 9:54 AM
> To: 'Log4J Users List'
> Subject: 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:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to