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-1504) RollingFileAppender should be able
to create files on-demand
[ https://issues.apache.org/jira/browse/LOG4J2-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15535454#comment-15535454 ]
Remko Popma commented on LOG4J2-1504:
-------------------------------------
[~garydgregory] in the [Appenders documentation|https://github.com/apache/logging-log4j2/blob/master/src/site/xdoc/manual/appenders.xml#L2211], could you mention the default value for the new {{createOnDemand}} attribute?
> RollingFileAppender should be able to create files on-demand
> ------------------------------------------------------------
>
> Key: LOG4J2-1504
> URL: https://issues.apache.org/jira/browse/LOG4J2-1504
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.7
>
>
> RollingFileAppender should be able to create files lazily.
> Add a {{createOnDemand="true|false"}} attribute to {{RollingFileAppender}}. The default is "false" for backward compatibility (which we can revisit of course).
--
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