Log4j 2
  1. Log4j 2
  2. LOG4J2-399

Allow the default file rollover strategy to define the compression level.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta9
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      Description

      Allow the default file rollover strategy to define the compression level.

      Sets the compression level, 0-9, where

      • 0 = none,
      • 1 = best speed,
      • through 9 = best compression.

      Only implemented for ZIP files.

        Activity

        Hide
        Gary Gregory added a comment -
        commit -m "[LOG4J2-399] Allow the default file rollover strategy to define the compression level." (14 paths specified)
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingRandomAccessFileAppender.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/ZipCompressAction.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
            Adding         C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/AbstractRollingAppenderSizeTest.java
            Adding         C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeGzTest.java
            Deleting       C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeTest.java
            Adding         C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeZipTest.java
            Adding         C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling-gz.xml
            Adding         C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling-zip.xml
            Deleting       C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling1.xml
            Sending        C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
            Sending        C:/vcs/svn/apache/log4j2/trunk/src/site/xdoc/manual/appenders.xml
            Transmitting file data ...
            Committed revision 1521714.
        
        Show
        Gary Gregory added a comment - commit -m "[LOG4J2-399] Allow the default file rollover strategy to define the compression level." (14 paths specified) Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingRandomAccessFileAppender.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/helper/ZipCompressAction.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java Adding C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/AbstractRollingAppenderSizeTest.java Adding C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeGzTest.java Deleting C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeTest.java Adding C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderSizeZipTest.java Adding C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling-gz.xml Adding C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling-zip.xml Deleting C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/resources/log4j-rolling1.xml Sending C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml Sending C:/vcs/svn/apache/log4j2/trunk/src/site/xdoc/manual/appenders.xml Transmitting file data ... Committed revision 1521714.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development