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

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Major Major
    • 1.1.3
    • 1.0.13
    • logback-core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: