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

if the configuration "srv.%d{HH}.%i.log " the first file Will be deleted.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 1.0.13
    • Fix Version/s: 1.1.3
    • Component/s: logback-core
    • Labels:
      None

      Description

      if the configuration as shown

      <fileNamePattern >/srv/srv1.%d{HH}.%i.log </fileNamePattern>

      or

      <fileNamePattern >/srv/srv1.%d{HH}.log</fileNamePattern >

      the first file Will be deleted.

      14:05:29,003 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [\apps\logs\log1\srv\srv.log] to [\apps\logs\log1\srv\srv.13.log]
      14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - first clean up after appender initialization
      14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - periodsElapsed = 336
      14:05:29,006 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - deleting \apps\logs\log1\srv\srv.13.log

      srv.13.log is first file.

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              wuwen wuwen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: