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

Re-create log if it gets deleted at runtime on Unix/Linux

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.2
    • logback-core
    • Unix/Linux

    Description

      On Unix & Linux it is possible to delete a log file at runtime and LogBack doesn't notice it has been deleted. This happens for all Appenders.

      It would be good to have an option via logback.xml to monitor the log file to check that the file still exists and re-link/re-create it if it has been deleted.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            hansel DK
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: