Description
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).
Attachments
Issue Links
- is cloned by
-
LOG4J2-1632 RollingRandomAccessFileAppender should be able to create files on-demand
- Open
-
LOG4J2-1504 RollingFileAppender should be able to create files on-demand
- Resolved
- relates to
-
LOG4J2-1505 Create a Builder for FileAppender
- Resolved