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

FileAppender should be able to create files on-demand

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • Appenders
    • 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

              ggregory Gary D. Gregory
              ggregory Gary D. Gregory
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: