LOG4J2-581, LOG4J2-675 RollingRandomAccessFile now writes the layout header after rollover; RollingFile and RollingRandomAccessFile now write the layout footer before rollover.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1604428 13f79535-47bb-0310-9956-ffa450edef68
LOG4J2-625: made AsyncLogger field transient so RingBufferLogEvent can be serialized

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1604433 13f79535-47bb-0310-9956-ffa450edef68