Remko Popma created LOG4J2-1075:
-----------------------------------

             Summary: Support additional compression formats 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.

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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to