Hi Ram,
I looked at the source code of PropertyConfigurator, there it says:
----
<p>The <code>PropertyConfigurator</code> does not handle the advanced
configuration features supported by the {@link
org.apache.log4j.xml.DOMConfigurator DOMConfigurator} such as support for
{@link org.apache.log4j.spi.Filter Filters}, custom {@link
org.apache.log4j.spi.ErrorHandler ErrorHandlers}, nested appenders such as
the {@link org.apache.log4j.AsyncAppender AsyncAppender}, etc.
----
Perhaps, you simply cannot attach a filter by a key-value-pair in a property
file. You might have to use the XML-Configuration.
Does anybody else have a better understanding of this problem?
Bye,
Martin.
> -----Original Message-----
> From: Ram Peleg [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, September 18, 2001 10:37 AM
> To: LOG4J Users Mailing List
> Subject: Attaching a filter
>
>
> Hi all
>
> Does anybody know how the key=value line in the property
> file should look like, in case i'd like to attach a filter to a
> certain appender?
>
> Thanx in advance
>
> Rami
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]