logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, James M" <james.m.whi...@boeing.com>
Subject RE: Logging to files
Date Mon, 03 Oct 2005 18:07:41 GMT
The initial fix will be to send it to the System.err, so that's
basically what you are saying.  Since we don't have to try/catch the
logging code, I wanted to make sure it would do this. 

-----Original Message-----
From: James Stauffer [mailto:stauffer.james@gmail.com] 
Sent: Monday, October 03, 2005 1:06 PM
To: Log4J Users List
Subject: Re: Logging to files

If it couldn't write to a file it would write that fact to std. error
but not the logs themself.  You could do some sort of backup appender.

On 10/3/05, White, James M <james.m.white2@boeing.com> wrote:
> Currently, we log our exceptions to a log file and everything works 
> well.  But, what happens when log4j can't do this?  Will it 
> automatically write to System.err?
>
> Basically, it's my task to handle the rare situations when log4j 
> doesn't write to our log file, which would be to write to System.err.

> All comments are appreciated.
>
> Thanks,
>
> James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message