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 2013/07/03 12:50:52 UTC

[Bug 55190] New: RollingFileAppender not rolling over when reach MaxBackUpIndex=10

https://issues.apache.org/bugzilla/show_bug.cgi?id=55190

            Bug ID: 55190
           Summary: RollingFileAppender not rolling over when reach
                    MaxBackUpIndex=10
           Product: Log4j
           Version: unspecified
          Hardware: PC
                OS: AIX
            Status: NEW
          Severity: major
          Priority: P2
         Component: Appender
          Assignee: log4j-dev@logging.apache.org
          Reporter: kumar_harshit@ymail.com

In application, log4j is used for generating the logs. log4j is configured with
RolloingAppender. Maximum rolling index is 10 and maximum file size is 10  MB.
after creating 10 backup files rollover is not happening and logs are not
getting generated .

log4j Jar Version: log4j-1.2.14.jar
Application server version: IBM Websphere ND 7.0.0.19
JDK Version :JRE 1.6.0 IBM AIX build pap6460sr7-20091215_02
Sever Machine OS and Version : IBM AIX 6.1
Current Access Permission/level on log folder : drwxr-xr-x

Let me know if any other details are required or if we upgrade to higher
version this issue will be resolve

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55190] RollingFileAppender not rolling over when reach MaxBackUpIndex=10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55190

--- Comment #1 from harshit <ku...@ymail.com> ---
Created attachment 30536
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30536&action=edit
Configuration file and debug logs

PFA configuartion file and digonosis log generated after enabling the
log4j.debug=true in JVM arguments.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55190] RollingFileAppender not rolling over when reach MaxBackUpIndex=10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55190

harshit <ku...@ymail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kumar_harshit@ymail.com
           Severity|major                       |critical

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55190] RollingFileAppender not rolling over when reach MaxBackUpIndex=10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55190

--- Comment #3 from harshit <ku...@ymail.com> ---
we use ImmediateFlush=true as log4j property and increased the size of each
logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55190] RollingFileAppender not rolling over when reach MaxBackUpIndex=10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55190

--- Comment #2 from pmr <pa...@mcc-soft.com> ---
We do have a similar one on Tomcat 7 tested on log4j 1.2 16&17. WIN 7 JDK 17_02
64bits
Easy to reproduce, simply put the LOG LEVEL on DEBUG on Tomcat startup, with
MaxSize 1MB & MaxRollIndex 3.
It starts ok but after a while log.1 log.2 are deleted and the initial file is
kept and keeps growing and growing...

Any clue would help

-- 
You are receiving this mail because:
You are the assignee for the bug.

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