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 "Doug Berkland (JIRA)" <ji...@apache.org> on 2016/10/06 15:30:20 UTC

[jira] [Created] (LOG4J2-1632) RollingRandomAccessFileAppender should be able to create files on-demand

Doug Berkland created LOG4J2-1632:
-------------------------------------

             Summary: RollingRandomAccessFileAppender should be able to create files on-demand
                 Key: LOG4J2-1632
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1632
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
            Reporter: Doug Berkland
            Assignee: Gary Gregory
             Fix For: 2.7


FileAppender should be able to create files lazily.

Add a {{createOnDemand="true|false"}} attribute to {{FileAppender}}. The default is "false" for backward compatibility (which we can revisit of course).

If that goes well, do the same for other types file appenders (rolling and random access).



--
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