);
}
}
-Original Message-
From: Kevin Steppe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 9:35 PM
To: Log4J Users List
Subject: Re: RollingFileAppender disk full handling
Colin,
log4j does not throw exceptions. However, the RollingFileAppender
-should- make calls
-Original Message-
My aim was to ask the user to replace
the media if it is full with a new one or choose another location for the
logfile.
Yeah, my case should be simpler than that. If I can't write the log, I'll
probably just spit something to console and exit.
To detect an
Hi all! In my application, I need to know if log4j failed to write a log
message.
I'm using RollingFileAppender, and from looking at the source, it catches
exceptions and just writes to console. I'm writing transaction audit logs,
so if I can't write to the log (disk full, or whatever) I want
Colin,
log4j does not throw exceptions. However, the RollingFileAppender
-should- make calls to the errorHandler. Implement your own
ErrorHandler and you should be able to get those notifications.
Kevin
Colin MacDonald wrote:
Hi all! In my application, I need to know if log4j failed