Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1504

RollingFileAppender should be able to create files on-demand

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: Appenders
    • Labels:
      None

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                garydgregory Gary Gregory
                Reporter:
                garydgregory Gary Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: