RE: RollingFileAppender disk full handling

2002-08-01 Thread Wullschleger, Donat
); } } -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

RE: RollingFileAppender disk full handling

2002-08-01 Thread Colin MacDonald
-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

RollingFileAppender disk full handling

2002-07-31 Thread Colin MacDonald
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

Re: RollingFileAppender disk full handling

2002-07-31 Thread Kevin Steppe
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