Yes.. :-)
I've switched to using an XML config file with a LevelRangeFilter, and it seems
to work fine this way..
<appender name="html" class="org.apache.log4j.FileAppender">
<param name="File" value="TGVAutomation.html"/>
<param name="Append" value="false"/>
<layout class="org.apache.log4j.HTMLLayout">
<param name="ConversionPattern" value="%d%p%m"/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="WARN" />
<param name="LevelMax" value="FATAL" />
<param name="AcceptOnMatch" value="true" />
</filter>
</appender>
-----Original Message-----
From: Javier Gonzalez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:45 AM
To: Log4J Users List
Subject: Re: How to set different levels per appender
On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> This didn't seem to work... It generates a warning
>
> WARN - No such property [threshold] in org.apache.log4j.RollingFileAppender.
Dumb question, but has to be asked: did you use a capital T?
("Threshold", not "threshold").
--
Javier González Nicolini
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
*****************************************************************************
The information contained in this message, including attachments, may contain
privileged or confidential information that is intended to be delivered only to
the person identified above. If you are not the intended recipient, or the
person responsible for delivering this message to the intended recipient,
ALLTEL requests that you immediately notify the sender and asks that you do not
read the message or its attachments, and that you delete them without copying
or sending them to anyone else.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]