yes - if the appender you're using implements AppenderSkeleton (most/all
ofthe provided Appenders do). In this case you call the setThreshold()
method. For more details check AppenderSkeleton docs here:
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/AppenderSkeleton.h
tml

hope this helps....

sam
----- Original Message -----
From: "Andre Silva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 12:14 AM
Subject: Priority on Appenders


> Hi all,
>
> I´m newbie with log4j, and I have a question about priorities:
>
> Is it possible to set priorities on appenders instead of categories? I
would
> like to have some appenders under the same category, but some logs
directed
> to one appender and some to another appender, but not for both.
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to