logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1075) Support bzip2 compression format for rollover
Date Tue, 07 Jul 2015 15:36:05 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616871#comment-14616871

Remko Popma commented on LOG4J2-1075:

Yes that is what I meant. For now I only need bz2 but we can easily add other formats now.

> Support bzip2 compression format for rollover
> ---------------------------------------------
>                 Key: LOG4J2-1075
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1075
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 2.3
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.4
> RollingFileAppender and RollingRandomAccessFileAppender currently support two compression
formats: gzip and zip. Java has built-in support for these formats so these are guaranteed
to work without external dependencies.
> However, there are formats that give much better compression, for example bzip2 results
in 40% smaller files.
> At work, we have a requirement to store large log files in smaller format for long term
storage. I would like to be able to do this at rollover. Currently we gzip at rollover and
have a separate script unzip and bzip2 these files. It would be convenient to be able to use
bzip2 directly from log4j at rollover.
> We can leverage the work done here: https://commons.apache.org/proper/commons-compress/

This message was sent by Atlassian JIRA

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

View raw message