Björn Kautler created LOG4J2-2730:
-------------------------------------

             Summary: createOnDemand for RollingRandomAccessFileAppender
                 Key: LOG4J2-2730
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2730
             Project: Log4j 2
          Issue Type: Improvement
    Affects Versions: 2.11.1
            Reporter: Björn Kautler


I miss the {{createOnDemand}} attribute that is present for the 
{{FileAppender}}.
I have various file appenders for production use configured and then define via 
{{AppenderRef}}s which should be used.
For {{File}} it is handy that the file is only created if the appender is 
actually logged to if {{createOnDemand}} is set to {{true}}.
But I miss the same setting for the {{RollingRandomAccessFileAppender}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to