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 bu...@apache.org on 2008/09/11 19:40:12 UTC

DO NOT REPLY [Bug 45782] New: Add a new appender that zip's rolled files

https://issues.apache.org/bugzilla/show_bug.cgi?id=45782

           Summary: Add a new appender that zip's rolled files
           Product: Log4j
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: candrews@integralblue.com


Created an attachment (id=22558)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22558)
zipping implementation of RollingFileAppender

It would be nice if there was a new FileAppender that zip'ed rolled (old) log
files, so they used substantially less storage. In the case of the app I'm
working on, our logs compressed from several gigabytes to just tens of
megabytes (lots of duplication in those log files). I bet others would find
such functionality useful.

Attached is our implementation, which is an extension of RollingFileAppender.

Note this bug is the same source as #45781 but this is for the Zip
functionality enhancement request, whereas that is a bug.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45782] Add a new appender that zip's rolled files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45782





--- Comment #1 from Curt Arnold <ca...@apache.org>  2008-09-18 14:59:33 PST ---
The org.apache.log4j.rolling.RollingFileAppender in the extras companion
already had the ability to .zip or .gz log files after rolling.  The extras
companion is a package of additional features for log4j, many of which (such as
o.a.l.rolling.RFA) were backported from the log4j 1.3 development effort. 


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45782] Add a new appender that zip's rolled files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45782


Curt Arnold <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #2 from Curt Arnold <ca...@apache.org>  2009-01-13 12:35:33 PST ---
Marking as won't fix as it appears to replicate existing RFA in extras
companion.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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