Repository: logging-log4j2 Updated Branches: refs/heads/LOG4J2-431 63aed83d6 -> fd2cdf710
LOG4J2-431: add link to MemoryMappedAppender from left side-nav menu, small fix in doc contents Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/fd2cdf71 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/fd2cdf71 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/fd2cdf71 Branch: refs/heads/LOG4J2-431 Commit: fd2cdf710d11def770afb627b1834bcdece03870 Parents: 63aed83 Author: rpopma <[email protected]> Authored: Thu Sep 18 01:00:00 2014 +0900 Committer: rpopma <[email protected]> Committed: Thu Sep 18 01:00:00 2014 +0900 ---------------------------------------------------------------------- src/site/site.xml | 1 + src/site/xdoc/manual/appenders.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fd2cdf71/src/site/site.xml ---------------------------------------------------------------------- diff --git a/src/site/site.xml b/src/site/site.xml index 7df0c64..5d04de2 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -112,6 +112,7 @@ <item name="JMS Queue" href="/manual/appenders.html#JMSQueueAppender"/> <item name="JMS Topic" href="/manual/appenders.html#JMSTopicAppender"/> <item name="JPA" href="/manual/appenders.html#JPAAppender"/> + <item name="Memory Mapped File" href="/manual/appenders.html#MemoryMappedFileAppender"/> <item name="NoSQL" href="/manual/appenders.html#NoSQLAppender"/> <item name="Output Stream" href="/manual/appenders.html#OutputStreamAppender"/> <item name="Random Access File" href="/manual/appenders.html#RandomAccessFileAppender"/> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fd2cdf71/src/site/xdoc/manual/appenders.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/appenders.xml b/src/site/xdoc/manual/appenders.xml index 7d47f78..d2a1677 100644 --- a/src/site/xdoc/manual/appenders.xml +++ b/src/site/xdoc/manual/appenders.xml @@ -1328,7 +1328,7 @@ public class JpaLogEntity extends AbstractLogEventWrapperEntity { The MemoryMappedFileAppender maps a part of the specified file into memory and writes log events to this memory, relying on the operating system's virtual memory manager to synchronize the changes to the storage device. - The main benefit of doing this is I/O performance. Instead of making system + The main benefit of using memory mapped files is I/O performance. Instead of making system calls to write to disk, this appender can simply change the program's local memory, which is orders of magnitude faster. Also, in most operating systems the memory region mapped actually is the kernel's <a href="http://en.wikipedia.org/wiki/Page_cache">page
