Description
Layout footer is currently only written when log4j is shutting down.
However, every time a rollover occurs, the layout header is written to the beginning of the file (see related LOG4J2-581).
For example for HTML/XML formats, the footer is required in each file, so it should be written at rollover.
Attachments
Issue Links
- is related to
-
LOG4J2-581 No header output in RollingRandomAccessFile
- Closed
- relates to
-
LOG4J2-569 Configuring RollingRandomAccessFile with HTMLLayout does not work as expected
- Resolved