Hi Mark,

        That did solve my problem.

Thanks again,
Benny

----Original Message Follows----
From: Mark Womack <[EMAIL PROTECTED]>
Reply-To: "Log4J Users List" <[EMAIL PROTECTED]>
To: 'Log4J Users List' <[EMAIL PROTECTED]>
Subject: RE: Appenders
Date: Mon, 25 Mar 2002 17:21:42 -0800

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



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

Reply via email to