ramanathan1504 opened a new pull request, #4071:
URL: https://github.com/apache/logging-log4j2/pull/4071
#4012
### Changes
- Added `maxCompressionDelay` parameter to `GzCompressAction` and
`ZipCompressAction`
- Extended `FileExtension` to support max compression delay configuration
- Updated `DefaultRolloverStrategy` to pass compression delay settings to
compression actions
- Added backward-compatible constructors for existing code
- Comprehensive test coverage for compression delay functionality
### Files Modified
- **Core Implementation**
-
`log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/FileExtension.java`
-
`log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/action/GzCompressAction.java`
-
`log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/action/ZipCompressAction.java`
-
`log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java`
- **Tests**
-
`log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/FileExtensionCompressDelayTest.java`
(new)
-
`log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/action/GzCompressActionTest.java`
(new)
-
`log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/action/ZipCompressActionTest.java`
(new)
--
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]