[LOG4J2-1504] RollingFileAppender should be able to create files on-demand.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/2f34ba31 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/2f34ba31 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/2f34ba31 Branch: refs/heads/LOG4J2-1528 Commit: 2f34ba3112798868b4c6f1ba48a2bcbd922cb8c1 Parents: 779e542 Author: Gary Gregory <ggreg...@apache.org> Authored: Sat Aug 20 22:30:41 2016 -0700 Committer: Gary Gregory <ggreg...@apache.org> Committed: Sat Aug 20 22:30:41 2016 -0700 ---------------------------------------------------------------------- src/site/xdoc/manual/appenders.xml | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/2f34ba31/src/site/xdoc/manual/appenders.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/appenders.xml b/src/site/xdoc/manual/appenders.xml index 7166087..5df7d99 100644 --- a/src/site/xdoc/manual/appenders.xml +++ b/src/site/xdoc/manual/appenders.xml @@ -2131,6 +2131,12 @@ public class JpaLogEntity extends AbstractLogEventWrapperEntity { <td>When bufferedIO is true, this is the buffer size, the default is 8192 bytes.</td> </tr> <tr> + <td>createOnDemand</td> + <td>boolean</td> + <td>The appender creates the file on-demand. The appender only creates the file when a log event + passes all filters and is routed to this appender.</td> + </tr> + <tr> <td>filter</td> <td>Filter</td> <td>A Filter to determine if the event should be handled by this Appender. More than one Filter