logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-1440) OnStartupTriggeringPolicy rolls over on every reconfiguration
Date Sat, 02 Jul 2016 20:07:10 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ralph Goers resolved LOG4J2-1440.
---------------------------------
    Resolution: Fixed

The change has been made to pass true to the rename action. Please verify and close.

> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message