You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2015/07/08 03:26:05 UTC

[jira] [Created] (LOG4J2-1077) Support additional compression formats on rollover

Remko Popma created LOG4J2-1077:
-----------------------------------

             Summary: Support additional compression formats on rollover
                 Key: LOG4J2-1077
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1077
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.3
            Reporter: Remko Popma


LOG4J2-1075 included support for bzip2 compression format on file rollover, using the [Apache Commons Compress|http://commons.apache.org/proper/commons-compress/] library.

It would be nice to let log4j users choose the other compression formats supported by Commons Compress.

Gary [suggested|https://issues.apache.org/jira/browse/LOG4J2-1075?focusedCommentId=14617081&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14617081] using {{org.apache.commons.compress.compressors.CompressorStreamFactory}}.

Considerations:
* Rollover compression to .zip and .gz formats should work without error if the commons-compress jar is not in the classpath.
* The following documentation needs to be updated:
** [DefaultRolloverStrategy|http://logging.apache.org/log4j/2.x/manual/appenders.html#Rollover_Strategies] section on the Appenders manual page
** Runtime dependencies page
** Core index page (again for the dependency)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org