Skip to content

Conversation

@liaodn
Copy link
Contributor

@liaodn liaodn commented Dec 4, 2025

  • Add OnStartupTriggeringPolicy to trigger cleanup on startup
  • Implement explicit Delete strategy with 72h or 7h retention
  • Prevent log file accumulation and disk space exhaustion

Fixes #196

- Add OnStartupTriggeringPolicy to trigger cleanup on startup
- Implement explicit Delete strategy with 72h or 7h retention
- Prevent log file accumulation and disk space exhaustion
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19916202129

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 76 unchanged lines in 13 files lost coverage.
  • Overall coverage decreased (-0.1%) to 65.097%

Files with Coverage Reduction New Missed Lines %
org/apache/bifromq/basekv/store/wal/KVRangeWALSubscription.java 1 92.66%
org/apache/bifromq/basecluster/transport/TCPTransport.java 2 85.57%
org/apache/bifromq/basescheduler/exception/BackPressureException.java 2 50.0%
org/apache/bifromq/basescheduler/exception/DropException.java 2 50.0%
org/apache/bifromq/basescheduler/Batcher.java 3 91.48%
org/apache/bifromq/dist/trie/NTopicFilterTrieNode.java 3 88.24%
org/apache/bifromq/dist/trie/STopicFilterTrieNode.java 3 88.28%
org/apache/bifromq/dist/trie/TopicFilterIterator.java 3 70.33%
org/apache/bifromq/inbox/store/InboxStoreCleaner.java 4 85.05%
org/apache/bifromq/basekv/raft/RaftNodeState.java 6 90.15%
Totals Coverage Status
Change from base Build 19848171985: -0.1%
Covered Lines: 27835
Relevant Lines: 41275

💛 - Coveralls

@popduke
Copy link
Contributor

popduke commented Dec 11, 2025

looks good to me, will merge after first release out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log4j2 RollingFileAppender with TimeBasedTriggeringPolicy fails to delete old logs on application restart

3 participants