List Info

Thread: rotatelogz - gzipping rotatelogs variant without APR




rotatelogz - gzipping rotatelogs variant without APR
country flaguser name
Germany
2007-04-17 08:18:01
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
  Approximate file size 9799 bytes
Re: rotatelogz - gzipping rotatelogs variant without APR
country flaguser name
United Kingdom
2007-04-17 08:37:05
-----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.hext
en.net/mod_log_rotate/

- --
Andy Armstrong, hexten.net

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

iD8DBQFGJM2CwoknRJZQnCERAt9AAKCsMx56fWynjxWL6ZQZzEWD3ZJtzQCg
uB98
NWXEnjoPDoDuPcdeIA03A0E=
=72jh
-----END PGP SIGNATURE-----

Re: rotatelogz - gzipping rotatelogs variant without APR
country flaguser name
Germany
2007-04-17 08:58:47
Hello,

* Andy Armstrong <andyhexten.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.hext
en.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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )