[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to