Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1258

Make it possible to archive logs on shutdown

    XMLWordPrintable

Details

    Description

      For some applications we do not know upfront how many instances will run.

      Every instance starts its own log file (choosing part of the logfile name dynamically - for example pid).

      As the filename changes for each startup old log files are not picked up and archived.

      For this use case it would be ideal to be able to configure archiving on shutdown. So when the JVM stops the active log files would get gzipped and archived.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            akiraly Attila Király
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: