[
https://issues.apache.org/jira/browse/LOG4PHP-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Semm updated LOG4PHP-164:
---------------------------------
Attachment: log4php.patch
I have added an option "compress". This option triggers the compression with
gzip via file-stream.
I have also modified and refactored the testclass for the rollingfile-appender.
> Compress rotated files with Gzip/Zip
> ------------------------------------
>
> Key: LOG4PHP-164
> URL: https://issues.apache.org/jira/browse/LOG4PHP-164
> Project: Log4php
> Issue Type: New Feature
> Components: Code
> Affects Versions: 2.1
> Reporter: Florian Semm
> Priority: Minor
> Fix For: 2.3
>
> Attachments: log4php.patch
>
>
> rotated files at the moment look like this: file.log.1
> with compression: file.log.1.zip / file.log.1.gz
> php has a simple api for that: http://php.net/manual/de/book.zip.php
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira