[syslog-ng]compressed log

Balazs Scheidler bazsi@balabit.hu
Thu, 22 Aug 2002 13:01:41 +0200


On Wed, Aug 21, 2002 at 01:27:44PM -0400, Keven Belanger wrote:
> Sorry I forgot to ask this one; can we compress log on the fly with gzip or something like that?
> So use a gz file as output

not directly. you could use however a program destination like this:

destination d_gzfile { program("gzip -c > /var/log/messages.gz"); };

syslog-ng sends a SIGTERM to the process if it is HUPed, or terminated.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1