logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-1077) Support additional Apache Commons Compress compression formats on rollover: Deflate, Pack200, XY
Date Wed, 08 Jul 2015 21:06:05 GMT

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

Gary Gregory resolved LOG4J2-1077.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4

I renamed and reworked the Bzip2CompressAction class into a new CommonsCompressAction class.


Please verify and close.

> Support additional 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
>             Fix For: 2.4
>
>
> 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.
> * XZ requires [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


Mime
View raw message