DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38874>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38874 Summary: Roll over functionality does not occure correctly. Writing to files even after reaching MaxFileSize Product: Log4j Version: 1.2 Platform: Sun OS/Version: SunOS Status: NEW Severity: normal Priority: P3 Component: Appender AssignedTo: log4j-dev@logging.apache.org ReportedBy: [EMAIL PROTECTED] Roll-over functionality does not work correctly for log files. After reaching the size limit, 2 new files have been created intead of 1 Moreover, the integration writes to all 3 files! The configuration file follows.... log4j.rootCategory=, A1 # A1 is set to be a FileAppender which outputs to System.out. log4j.appender.A1=org.apache.log4j.RollingFileAppender log4j.appender.A1.File=/home/aiprd/log/main_comptel01/main_comptel01.log log4j.appender.A1.MaxFileSize=51200KB log4j.appender.A1.MaxBackupIndex=9 log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d %-5p [%t] %-20c %3x - %m%n The output of ls -ltr command Gateway RTPPRD $ ls -ltr /home/aiprd/log/main_comptel01/main_comptel01.log* -rw-rw-r-- 1 aiprd mqm 52429018 Jan 18 09:00 /home/aiprd/log/main_comptel01/main_comptel01.log.2 -rw-rw-r-- 1 aiprd mqm 59300842 Jan 19 10:43 /home/aiprd/log/main_comptel01/main_comptel01.log.4 -rw-rw-r-- 1 aiprd mqm 46799047 Jan 19 10:43 /home/aiprd/log/main_comptel01/main_comptel01.log.3 -rw-rw-r-- 1 aiprd mqm 88136756 Jan 25 23:34 /home/aiprd/log/main_comptel01/main_comptel01.log.1 -rw-rw-r-- 1 aiprd mqm 45654866 Jan 30 11:33 /home/aiprd/log/main_comptel01/main_comptel01.log -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]