Hi.  Is there any work in place to get the PropertyConfigurator to support
filters?  Perhaps in a hack or beta that someone has done?

I read the following in the latest version of the javadocs,

"Note that filtering is only supported by the DOMConfigurator. The
PropertyConfigurator does not support filters."

http://logging.apache.org/log4j/docs/api/org/apache/log4j/spi/Filter.html

In my project, we integrate our log4j log files with our Jakarta-commons log
files.  This allows us to take advantage of substitution in our log4j log
files.  

I'm trying to hook in the SMTPAppender and realized that by using
PropertyConfigurator to configure log4j I cannot run any filters on it
(which makes it rather dangerous).

Anyone run into this problem and hacked PropertyConfigurator to accept
filters?  Is there a possibility of adding this as an enhancement?  Is there
a way of filtering without using the "filter" element in the configuration?

Thanks,
Moran Ben-David


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

Reply via email to