As for #1, in log4j.properties

Example:

log4j.logger.com.handler.DefaultMessageHandler=ERROR


for # 2: Ask Ceki Gülcü




-----Original Message-----
From: Stroboskop [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 12, 2007 9:36 AM
To: log4j-user@logging.apache.org
Subject: RE: How to handle log4j's internal exceptions


ErrorHandler! That's it! Thanks a lot.

But two more questions arise:
 - how do i set the error handler using the log4j.properties config? I only
found xml config examples.
 - why is the ErrorHandler deprecated in log4j 1.3 (and with no substitute
mechanism at that)?

-- 
View this message in context: 
http://www.nabble.com/How-to-handle-log4j%27s-internal-exceptions-tf3902661.html#a11078880
Sent from the Log4j - Users mailing list archive at Nabble.com.


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