Log4j 2
  1. Log4j 2
  2. LOG4J2-675

RollingFile and RollingRandomAccessFile don't write footer before rollover

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Hide
          Remko Popma added a comment -

          Fixed in revision 1604428.

          Show
          Remko Popma added a comment - Fixed in revision 1604428.

            People

            • Assignee:
              Remko Popma
              Reporter:
              Remko Popma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development