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

FileAppender 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

      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

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: