Re: How to handle log4j's internal exceptions

2007-06-13 Thread Ceki Gulcu
Hello, Internal error handling is one of the strong points of logback, the purported successor to log4j. Each logback component is attached to a context which maintains a publicly accessible list of internal errors. Search for StatusManager in logback documentation. See also "Chapter 2 - Archite

RE: How to handle log4j's internal exceptions

2007-06-13 Thread Stroboskop
12, 2007 1:55 PM > To: log4j-user@logging.apache.org > Subject: RE: How to handle log4j's internal exceptions > > > 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

RE: How to handle log4j's internal exceptions

2007-06-12 Thread Kamal Ahmed
l 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 ques

RE: How to handle log4j's internal exceptions

2007-06-12 Thread Stroboskop
to:[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

RE: How to handle log4j's internal exceptions

2007-06-12 Thread Kamal Ahmed
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

RE: How to handle log4j's internal exceptions

2007-06-12 Thread Stroboskop
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 cont

RE: How to handle log4j's internal exceptions

2007-06-11 Thread Kamal Ahmed
- From: Stroboskop [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 12:52 PM To: log4j-user@logging.apache.org Subject: How to handle log4j's internal exceptions OK, here's my problem: i want to know when _log4j_ is having a problem. For example: imagine using a FileAppender pointing t

How to handle log4j's internal exceptions

2007-06-11 Thread Stroboskop
OK, here's my problem: i want to know when _log4j_ is having a problem. For example: imagine using a FileAppender pointing to a directory on the network - sometimes you don't have write access rights and sometimes the directory's just not available. Anyway your chances are good that regular loggi