I don't think, that's what i wanted to know. I didn't want to set the log level to ERROR, i wanted to set an ErrorHandler.
So i was more thinking along the line of: log4j.appender.File.errorHandler=com.my.very.own.ErrorHandler When i set it programatically, it works fine. This of course doesn't. Kamal Ahmed-3 wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/How-to-handle-log4j%27s-internal-exceptions-tf3902661.html#a11083714 Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]