You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Björn Kautler (Jira)" <ji...@apache.org> on 2019/12/03 09:11:00 UTC

[jira] [Created] (LOG4J2-2730) createOnDemand for RollingRandomAccessFileAppender

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)