ramanathan1504 opened a new pull request, #4067: URL: https://github.com/apache/logging-log4j2/pull/4067
Fixes #4012 When rolling file appenders trigger compression at midnight, all nodes compress simultaneously, causing disk I/O spikes on shared/cloud storage. ## Change - Added `maxDelaySeconds` parameter to `GzCompressAction` and `ZipCompressAction` - Before compression begins, a random sleep in `[0, maxDelaySeconds]` is applied - Defaults to `0` — fully backward-compatible; existing configs are unaffected ## Usage ```xml <GzCompress maxDelaySeconds="30"/> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
