Implement compression for RollingFileAppender

Details

Description

gzip and zip compression of log files after rollover was implemented in the log4j 1.3 RFA. When the code was ported over to log4cxx, the code related to compression was #if'd out. This patch implements gzip and zip compression by invoking a gzip or zip executable after the log file is renamed. Unlike the log4j implementation, the compression is currently done synchronously.

Curt Arnold
added a comment - 03/Jan/08 14:32 No, it should be possible to make the compression asynchronous. If you'd like to take a shot and submit it as a patch, it would be reviewed. It was just a matter of development priorities.