[logback-dev] [JIRA] (LOGBACK-1258) Make it possible to archive logs on shutdown

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Feb 13 14:20:00 CET 2017


Attila Király created LOGBACK-1258:
--------------------------------------

             Summary: Make it possible to archive logs on shutdown
                 Key: LOGBACK-1258
                 URL: https://jira.qos.ch/browse/LOGBACK-1258
             Project: logback
          Issue Type: Improvement
          Components: logback-classic
    Affects Versions: 1.2.1
            Reporter: Attila Király
            Assignee: Logback dev list


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.



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list