[
https://issues.apache.org/jira/browse/LOG4J2-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory updated LOG4J2-2560:
---------------------------------
Fix Version/s: (was: 2.12.0)
2.12.1
> RollingFileAppender cannot be configured with both OnStartupTriggeringPolicy
> and createOnDemand="true"
> ------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-2560
> URL: https://issues.apache.org/jira/browse/LOG4J2-2560
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.11.2
> Environment: Windows 10 Professional x64
> Reporter: Jeff Gullett
> Priority: Minor
> Fix For: 2.12.1
>
>
> When configuring a RollingFileAppender with the createOnDemand="true"
> property, and adding the OnStartupTriggeringPolicy, the triggering policy is
> ignored. Instead, all logs are simply appended to the existing log file.
> This should be modified to allow rolling logs that are only created on-demand.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)