logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Zhang" <dzh...@seven.com>
Subject RE: problem Rolling issues
Date Wed, 29 Oct 2008 10:02:39 GMT
Hi Zohar,

I suspect you put an additional "." at the end of date pattern for file
A file name can not end with ".", which caused the error.

Good luck,

-----Original Message-----
From: Zohar Landau [mailto:zoharl@liveperson.com] 
Sent: Wednesday, October 29, 2008 5:38 PM
To: log4j-user@logging.apache.org
Subject: problem Rolling issues



I'm having a problem with log4J RollingFileAppender:

Sometimes the rolling fails due to renaming of the file : 
INFO   | jvm 1    | 2008/10/27 09:00:00 | log4j:ERROR Failed to rename
[d:\logs/SBC.log] to [d:\logs/SBC.log2008-10-27-08.].


I've trying looking for an answer to the problem and got there is a
datedFileAppender-1.0.2 extension (which doesn't enable rolling after
each hour but after each day)


Is there any other solution?




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

View raw message