qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Quack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6614) [Java Broker] Make BrokerFileLogger implementation expose content of the current file and the names/content of any previously rolled files
Date Tue, 07 Jul 2015 09:06:04 GMT

     [ https://issues.apache.org/jira/browse/QPID-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lorenz Quack updated QPID-6614:
-------------------------------
    Attachment: 0001-QPID-6614-Java-Broker- Add-onNoRolloverDetected-to-RolloverListener.patch

changes how we handle the case when a rollover was triggered but no new file was detected.

> [Java Broker] Make BrokerFileLogger implementation expose content of the current file
and the names/content of any previously rolled files
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6614
>                 URL: https://issues.apache.org/jira/browse/QPID-6614
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 6.0 [Java]
>
>         Attachments: 0001-Fix-RolloverFileAppenderFactory-to-start-triggering-.patch,
0001-QPID-6614-Java-Broker- Add-onNoRolloverDetected-to-RolloverListener.patch, 0002-QPID-6614-Improve-functionality-around-exposing-log-.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message