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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2015/07/08 22:14:04 UTC

[jira] [Updated] (LOG4J2-1077) Support Apache Commons Compress compression formats on rollover: Deflate, Pack200, XY

     [ https://issues.apache.org/jira/browse/LOG4J2-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated LOG4J2-1077:
---------------------------------
    Summary: Support Apache Commons Compress compression formats on rollover: Deflate, Pack200, XY  (was: Support Apache Commons Compress compression formats on rollover)

> Support Apache Commons Compress compression formats on rollover: Deflate, Pack200, XY
> -------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Gary Gregory
>
> LOG4J2-1075 included support for bzip2 compression format on file rollover, using the [Apache Commons Compress|http://commons.apache.org/proper/commons-compress/] library.
> 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}} to create a more generic solution that lets log4j users choose from all the compression formats supported by Commons Compress.
> Considerations:
> * Rollover compression to .zip and .gz formats should work without error if the commons-compress jar is not in the classpath.
> * Some formats require additional dependencies on top of Commons Compress. Specifically, 7Z, XZ and LZMA require [XZ for Java|http://tukaani.org/xz/java.html].
> * 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)
> The additional formats are:
> - Deflate
> - Pack200
> - XY
> BZip2 is already supported through Apache Commons Compress and [LOG4J2-1075].



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