[
https://issues.apache.org/jira/browse/QPID-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18119954#comment-18119954
]
ASF GitHub Bot commented on QPID-8770:
--------------------------------------
usugumo opened a new pull request, #451:
URL: https://github.com/apache/qpid-broker-j/pull/451
**JIRA Issue**
[QPID-8770](https://issues.apache.org/jira/browse/QPID-8770): [Broker-J]
FileLogger does not roll on restart when daily rolling is enabled
**PR Description**
The fix replaces the daily triggering policy to restore restart rollover,
preserve archive numbering, and avoid archiving empty files. Regression tests
cover restart, daily and size-based rollover, and compression.
> [Broker-J] FileLogger does not roll on restart when daily rolling is enabled
> ----------------------------------------------------------------------------
>
> Key: QPID-8770
> URL: https://issues.apache.org/jira/browse/QPID-8770
> Project: Qpid
> Issue Type: Bug
> Components: Broker-J
> Affects Versions: qpid-java-broker-10.1.0, qpid-java-broker-10.1.1
> Reporter: Takahashi Kiyoshi
> Priority: Minor
>
> When both rollDaily and rollOnRestart are enabled, restarting the broker on
> the same day can append to the existing log instead of rolling it over.
> Expected behavior: archive the existing nonempty log before writing the first
> new log event, using the daily archive filename pattern.
> This appears to be a regression of QPID-8081, introduced during the Logback
> upgrade in QPID-8626.
> The fix should replace the daily triggering policy to restore restart
> rollover, preserve archive numbering, and avoid archiving empty files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]