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

missing log files and log entries when using SizeAndTimeBasedRollingPolicy

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0-alpha1
    • 1.2.3
    • logback-classic
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: