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

Cannot rollover when currentlyActiveFile renamed and size reduced by other process

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None
    • Environment:

      SizeBasedTriggeringPolicy's is`TriggeringEvent` method  should use `ResilientFileOutputStream.getChannel().size()` to replace `activeFile.length()`, because the activeFile maybe already is not matched with the outputStream.

      Attachments

        Activity

          People

          • Assignee:
            logback-dev Logback dev list
            Reporter:
            hebelala hebelala
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: