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

Fix MemoryMappedFileAppender.createAppender() Javadoc for immediateFlush

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1, 2.7
    • 2.8
    • Appenders
    • None

    Description

      The documentation for org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.createAppender() says that the default for immediateFlush is true. But the default is actually false as seen from the source:

      final boolean isForce = Booleans.parseBoolean(immediateFlush, false);
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            g.sridhar53 Sridhar Gopinath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: