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

RollingFile and RollingRandomAccessFile don't write footer before rollover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-rc1
    • 2.0-rc2
    • Appenders

    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

              rpopma Remko Popma
              rpopma Remko Popma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: