DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17917>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17917 Sometimes no backup file is created Summary: Sometimes no backup file is created Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I configured the RollingFileAppender in the following way: log4j.appender.Datei=org.apache.log4j.RollingFileAppender log4j.appender.Datei.File=C:\\Autop903\\log\\log4j.log log4j.appender.Datei.MaxFileSize=2048KB log4j.appender.Datei.MaxBackupIndex=5 The Operating systems is Window 2000. If the logfile log4j.log reach the size of 2048KB, I could see the log4j debug output: log4j: rolling over count 2097391 log4j: maxBackupIndex=5 log4j: Renaming file C:\Autop903\log\log4j.log to C:\Autop903\log\log4j.log.1 log4j: setFile called: C:\Autop903\log\log4j.log, false log4j: setFile ended Sometimes I can see the file log4j.log.1 after that in the file system but sometimes the file log4j.log.1 is not there so that I have lost the whole debug information and I have no backup then. It may depend on heavy debug output at the time of renaming the log file. Is there a chance to avoid this problem? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]