Jeff Gullett created LOG4J2-2560:
------------------------------------
Summary: 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: Improvement
Components: Appenders
Affects Versions: 2.11.2
Environment: Windows 10 Professional x64
Reporter: Jeff Gullett
Fix For: 2.12.0
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)