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

[Java Broker] Make BrokerFileLogger implementation expose content of the current file and the names/content of any previously rolled files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      Add a derived attribute BrokerFileLogger#rolledFiles that exposed a list of filenames that were previously rolled by the appender:

      • At open time, the implementation must check for any pre-existing rolled files that potentially match the rolling specification, taking into account date or sized based rolling (or the possibility of compression). The implementation does not need to consider that the configuration may have changed, nor does it need to consider the possibility that another actor adding a file to the file system at runtime.
      • At runtime if rollover occurs, the derived attribute needs refresh itself.
      • The content of rolledFiles should be in the same terms of the effective value of getFile() - which may be absolute or relative.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: