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