logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HETAULT Pierre-Marie <pierre-marie.heta...@atosorigin.com>
Subject RollingFileAppender and DailyRollingFileAppender error handling (log4j 1.2.7)
Date Fri, 20 Jun 2003 09:16:37 GMT
Hi,

I have several remarks on error handling.

1 - in RollingFileAppender.rollOver() there is message logged if
"filename.i" cannot rename to "filename.i+1"

2 - in RollingFileAppender.rollOver() there is message logged if
"filename" cannot rename to "filename.1"

3 - in RollingFileAppender.rollOver() the IOException catched should be
logged by the associated ErrorHandler

4 - in DailyRollingFileAppender.rollOver() the message "Failed to rename
["+fileName+"] to ["+scheduledFilename+"]." should be logged by the
ErrorHandler

5- in DailyRollingFileAppender.subAppend() the IOException catched
should be logged by the associated ErrorHandler


I benefit from this mall to thank the Jakarta community for all this 
good librairies.


-- 
HETAULT Pierre-Marie
ATOS ORIGIN

-----------------------------------------------------------------------
This electronic transmission and any files attached to it are strictly
confidential and intended solely for the addressee. If you are not the
intended addressee, you must not disclose, copy or take any action in
reliance of this transmission.  If you have received this transmission in
error, please notify us by return and delete the same.  The views expressed
in this electronic transmission do not necessarily reflect those of Atos
rigin or any of its subsidiary companies. Although the sender endeavours to
maintain a computer virus free network, the sender does not warrant that
this transmission is virus-free and will not be liable for any damages
resulting from any virus transmitted.


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


Mime
View raw message