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

RollingFile and RollingRandomAccessFile don't write footer before rollover

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc1
    • Fix Version/s: 2.0-rc2
    • Component/s: Appenders
    • Labels:

      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

            Activity

              People

              • Assignee:
                remkop@yahoo.com Remko Popma
                Reporter:
                remkop@yahoo.com Remko Popma
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: