logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamal Ahmed" <KAh...@webMethods.com>
Subject RE: How to handle log4j's internal exceptions
Date Tue, 12 Jun 2007 16:48:51 GMT
As for #1, in log4j.properties

Example:

log4j.logger.com.handler.DefaultMessageHandler=ERROR


for # 2: Ask Ceki Gülcü




-----Original Message-----
From: Stroboskop [mailto:gnubeutel@web.de] 
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message