You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andreas Kotes <co...@flatline.de> on 2007/04/17 15:18:01 UTC

rotatelogz - gzipping rotatelogs variant without APR

Hello!

I have a setup where logfiles etc. are periodically transferred
(rsynced) over a network-link at runtime, and disk space as well as
transfer time/bandwidth are relevant.

I didn't find a gzipping filter for APR, and didn't want to implement
yet another specialized gzip-implementation like mod_deflate for it, so
I took rotatelogs and converted it to use zlib, stripping some unneeded
and (in this setup) hard-to-support functionality as well.

It might be useful to someone else, so please find it attached for
inclusion. I hereby place it under the Apache License 2.0 and transfer
all relevant rights to the Apache Software Foundation.

Best regards,

   Andreas

-- 
"God is a comedian playing to an audience too afraid to laugh." -- H.L.Mencken

Re: rotatelogz - gzipping rotatelogs variant without APR

Posted by Andreas Kotes <co...@flatline.de>.
Hello,

* Andy Armstrong <an...@hexten.net> [20070417 15:37]:
> >It might be useful to someone else, so please find it attached for
> >inclusion. I hereby place it under the Apache License 2.0 and transfer
> >all relevant rights to the Apache Software Foundation.
> 
> You could do a version of mod_log_rotate too if you fancy :)
> 
> [1] http://www.hexten.net/mod_log_rotate/

yeah, but it wouldn't be of any additional use for me :) it's even
unlikely that I'll have any further additions/changes to rotatelogz as
it is ...

For those interested:
- logging to FIFOs
- reading those FIFOs and other thinks via syslog-ng
- writing via syslog-ng
- syncing to upstream via rsync over stunnel

Cheers ;)

   Andreas

-- 
"God is a comedian playing to an audience too afraid to laugh." -- H.L.Mencken

Re: rotatelogz - gzipping rotatelogs variant without APR

Posted by Andy Armstrong <an...@hexten.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Apr 2007, at 14:18, Andreas Kotes wrote:
> I have a setup where logfiles etc. are periodically transferred
> (rsynced) over a network-link at runtime, and disk space as well as
> transfer time/bandwidth are relevant.
>
> I didn't find a gzipping filter for APR, and didn't want to implement
> yet another specialized gzip-implementation like mod_deflate for  
> it, so
> I took rotatelogs and converted it to use zlib, stripping some  
> unneeded
> and (in this setup) hard-to-support functionality as well.
>
> It might be useful to someone else, so please find it attached for
> inclusion. I hereby place it under the Apache License 2.0 and transfer
> all relevant rights to the Apache Software Foundation.

You could do a version of mod_log_rotate too if you fancy :)

[1] http://www.hexten.net/mod_log_rotate/

- --
Andy Armstrong, hexten.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGJM2CwoknRJZQnCERAt9AAKCsMx56fWynjxWL6ZQZzEWD3ZJtzQCguB98
NWXEnjoPDoDuPcdeIA03A0E=
=72jh
-----END PGP SIGNATURE-----