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

Fix MemoryMappedFileAppender.createAppender() Javadoc for immediateFlush

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.7
    • Fix Version/s: 2.8
    • Component/s: Appenders
    • Labels:
      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

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              g.sridhar53 Sridhar Gopinath
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: