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 "Remko Popma (JIRA)" <ji...@apache.org> on 2016/09/30 08:52:20 UTC

[jira] [Commented] (LOG4J2-1501) FileAppender should be able to create files on-demand

    [ https://issues.apache.org/jira/browse/LOG4J2-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15535452#comment-15535452 ] 

Remko Popma commented on LOG4J2-1501:
-------------------------------------

[~garydgregory] in the [Appenders documentation|https://github.com/apache/logging-log4j2/blob/master/src/site/xdoc/manual/appenders.xml#L430], could you mention the default value for the new {{createOnDemand}} attribute?

> FileAppender should be able to create files on-demand
> -----------------------------------------------------
>
>                 Key: LOG4J2-1501
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1501
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>            Reporter: Gary Gregory
>            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