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

missing log files and log entries when using SizeAndTimeBasedRollingPolicy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3.0-alpha1
    • Component/s: logback-classic
    • Labels:
      None
    • Environment:

      xubuntu, openjdk 8

      Description

      Missing archive files when using SizeAndTimeBasedRollingPolicy. For example:

      riskop@riskop-ESPRIMO-P556:~/git/slf4j_logback_SizeAndTimeBasedRollingPolicy_problem$ ls -l
      total 696
      rw-rw-r- 1 riskop riskop 64250 dec 15 10:55 log_105505_archive_105505.0.txt
      rw-rw-r- 1 riskop riskop 130688 dec 15 10:55 log_105505_archive_105505.2.txt
      rw-rw-r- 1 riskop riskop 187864 dec 15 10:55 log_105505_archive_105505.4.txt
      rw-rw-r- 1 riskop riskop 74533 dec 15 10:55 log_105505_archive_105506.0.txt
      rw-rw-r- 1 riskop riskop 236872 dec 15 10:55 log_105505_current.txt
      rw-rw-r- 1 riskop riskop 1257 dec 15 10:53 pom.xml
      drwxrwxr-x 3 riskop riskop 4096 dec 15 10:11 src
      drwxrwxr-x 6 riskop riskop 4096 dec 15 10:55 target

      log_archive_105505.1.txt is missing!

      Demo is here: https://github.com/riskop/slf4j_logback_SizeAndTimeBasedRollingPolicy_problem 

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              riskop peter risko
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: