Will setting the threshold on the appenders do what you want?

http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/AppenderSkeleton.h
tml#setThreshold(org.apache.log4j.Priority)

The above is for the 1.2 beta, but I believe it applies to 1.1.3 as well.

-Mark

-----Original Message-----
From: Benny Yu [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 1:01 PM
To: [EMAIL PROTECTED]
Subject: Appenders


Hi,

    I am trying to figure out how to assign different log level to different

appenders for the same Category.  I want to be able to log only ERROR level 
to console appender but at the same time log DEBUG in a file appender.  
Could someone point me to the right direction in accomplishing this.

Thanks in advance,
Benny

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
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