[
https://issues.apache.org/jira/browse/LOG4J2-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sridhar Gopinath closed LOG4J2-1639.
------------------------------------
> Fix MemoryMappedFileAppender.createAppender() Javadoc for immediateFlush
> ------------------------------------------------------------------------
>
> Key: LOG4J2-1639
> URL: https://issues.apache.org/jira/browse/LOG4J2-1639
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.1, 2.7
> Reporter: Sridhar Gopinath
> Assignee: Gary Gregory
> Priority: Minor
> Fix For: 2.7.1
>
>
> 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:
> {code:java}
> final boolean isForce = Booleans.parseBoolean(immediateFlush, false);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]