ramanathan1504 commented on code in PR #4071:
URL: https://github.com/apache/logging-log4j2/pull/4071#discussion_r3268428454


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/action/CommonsCompressAction.java:
##########
@@ -65,12 +70,32 @@ public final class CommonsCompressAction extends 
AbstractAction {
      */
     public CommonsCompressAction(
             final String name, final File source, final File destination, 
final boolean deleteSource) {
+        this(name, source, destination, deleteSource, 0);
+    }
+
+    /**
+     * Creates new instance of Bzip2CompressAction.
+     *
+     * @param name the compressor name. One of "gz", "bzip2", "xz", "zst", 
"pack200", or "deflate".
+     * @param source file to compress, may not be null.
+     * @param destination compressed file, may not be null.
+     * @param deleteSource if true, attempt to delete file on completion. 
Failure to delete does not cause an exception
+     *            to be thrown or affect return value.
+     * @param maxDelaySeconds maximum delay in seconds before compression.
+     */
+    public CommonsCompressAction(

Review Comment:
   updated



-- 
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]

Reply via email to