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 "Leon Finker (JIRA)" <ji...@apache.org> on 2016/07/03 04:25:11 UTC

[jira] [Commented] (LOG4J2-1440) OnStartupTriggeringPolicy rolls over on every reconfiguration

    [ https://issues.apache.org/jira/browse/LOG4J2-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360404#comment-15360404 ] 

Leon Finker commented on LOG4J2-1440:
-------------------------------------

Verified. Thank you

> 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