You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Florian Semm (Commented) (JIRA)" <ji...@apache.org> on 2011/12/13 08:25:30 UTC
[jira] [Commented] (LOG4PHP-164) Compress rotated files with
Gzip/Zip
[ https://issues.apache.org/jira/browse/LOG4PHP-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168192#comment-13168192 ]
Florian Semm commented on LOG4PHP-164:
--------------------------------------
My first implementation-idea was to use Zip-Class [1]. Are there any differences between a stream-compression and this core-lib?
I think it's known that the compression of a 100mb file slow down the system. So you should think twice to use it.
[1] http://php.net/manual/en/book.zip.php
> 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
>
>
> 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