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

RollingRandomAccessFileAppender should be able to create files on-demand

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Appenders
    • None

    Description

      RollingRandomAccessFileAppender should be able to create files lazily.

      Add a createOnDemand="true|false" attribute to RollingRandomAccessFileAppender. 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
              dougberkland Doug Berkland
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: