Ralph Goers created LOG4J2-1440:
-----------------------------------

             Summary: OnStartupTriggeringPolicy rolls over on every 
reconfiguration
                 Key: LOG4J2-1440
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1440
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.6.1
            Reporter: Ralph Goers
            Assignee: Ralph Goers
             Fix For: 2.6.2


The OnStartupTriggeringPolicy was modified to roll over when the configuration 
is processed instead of waiting for the first log event and to only roll over 
if the file is not emoty. This leads to two issues:
# The roll over is only supposed to occur when Log4j is configured for the 
first time in the JVM.
# The user may have wanted to roll over empty files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to