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

TimeBasedRollingPolicy#rollover can leave an uncompressed, renamed file behind

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.6
    • logback-core
    • None

    Description

      When TimeBasedRollingPolicy#rollover renames a file (because getParentsRawFileProperty returns non-null) there's a race condition where the JVM may exit before the async compressor is started, thus leaving behind an uncompress file with a tmp name.

      This doesn't seem like an easy fix...

      Attachments

        Activity

          People

            logback-dev Logback dev list
            anders Anders Wallgren
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: