Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8081

[Broker-J] FileLogger with "roll on restart" set to "true" does not roll log file on broker restart when "roll daily" is "true"

    XMLWordPrintableJSON

Details

    Description

      If "roll on restart" is set, the FileLogger should rolled over the log file on every restart.
      It does not do it when "roll daily" is "on".

      We should verify that the name of log file rolled over on Broker restart should conform to "roll daily" policy file name pattern:

      fileName + ".%d{yyyy-MM-dd}.%i"

      We have reports that when log file is rolled over on restart (for whatever reason), the file name does not conform to the expected pattern. Instead, the pattern for SimpleRollingPolicy is used :

      fileName + ".%i"

      Attachments

        Activity

          People

            Unassigned Unassigned
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: