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

RollingRandomAccessFileAppender should be able to create files on-demand

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: Appenders
    • Labels:
      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

              • Assignee:
                ggregory Gary D. Gregory
                Reporter:
                dougberkland Doug Berkland
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: