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

          Remko Popma made changes -
          Link This issue relates to LOG4J2-569 [ LOG4J2-569 ]
          Remko Popma made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Remko Popma made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Remko Popma made changes -
          Link This issue is related to LOG4J2-581 [ LOG4J2-581 ]
          Remko Popma made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Remko Popma created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development