You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/03/07 09:53:33 UTC
DO NOT REPLY [Bug 38874] New: - Roll over functionality does not occure correctly. Writing to files even after reaching MaxFileSize
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: obillaneni_sai@yahoo.com
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 38874] - Roll over functionality does not occure correctly. Writing to files even after reaching MaxFileSize
Posted by bu...@apache.org.
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
carnold@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From carnold@apache.org 2007-08-22 19:08 -------
*** This bug has been marked as a duplicate of 17498 ***
--
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 38874] - Roll over functionality does not occure correctly. Writing to files even after reaching MaxFileSize
Posted by bu...@apache.org.
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
kay.abendroth@raxion.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kay.abendroth@raxion.net
Status|NEW |NEEDINFO
------- Additional Comments From kay.abendroth@raxion.net 2006-11-12 05:57 -------
Does it also occur with 1.2.14?
--
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 38874] - Roll over functionality does not occure correctly. Writing to files even after reaching MaxFileSize
Posted by bu...@apache.org.
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
------- Additional Comments From chris.heisterkamp@airplay.com 2007-01-22 12:15 -------
Are you using the RollingFileAppender in a webapp?
If so, this is probably related to Bug 17498
--
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org