Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-509

Append log records to the end of the log file

    XMLWordPrintable

Details

    Description

      It would be great to have the ability to aggregate all log records in a single log file. As a short term solution, we could expose a new option to control FileOutputStream append, as a long term - design simple log retention functionality.

      `org.slf4j.simpleLogger.logFileAppend`
      When true, records will be appended to the end of the file. When set to false, the file will be cleared before new records are written. Defaults to `false` for backward compatibility.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            paranoiduser Dmitriy Fedoriv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: