From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1012 Path: news.gmane.org!not-for-mail From: "Michael P. Soulier" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: compressing rotated logfiles Date: Wed, 8 Feb 2006 22:04:43 -0500 Message-ID: <20060209030443.GD357@tigger.digitaltorque.ca> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PUgybOivvlPvn0/l" X-Trace: sea.gmane.org 1139455968 8945 80.91.229.2 (9 Feb 2006 03:32:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 03:32:48 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1248-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Feb 09 04:32:36 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1F72XK-0006zf-SG for gcsg-supervision@gmane.org; Thu, 09 Feb 2006 04:32:07 +0100 Original-Received: (qmail 18801 invoked by uid 76); 9 Feb 2006 03:32:24 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 18557 invoked from network); 9 Feb 2006 03:05:43 -0000 X-Authentication-Warning: tigger.digitaltorque.ca: msoulier set sender to msoulier@digitaltorque.ca using -f Original-To: Charlie Brady Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1012 Archived-At: --PUgybOivvlPvn0/l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 08/02/06 Charlie Brady said: > Since I assume that you are doing this on linux, I'd suggest that you use= =20 > inotify to watch the log directory and do renames when svlogd has finishe= d=20 > its post-processing. >=20 > Perl API is here: >=20 > http://www.edoceo.com/creo/inotify/perl-inotify.php Well, I was hoping of a way built-in to the tool, but I guess none is available. The simplest solution would seem to be a simple nightly cron to perform the compression and thus renaming, since it's not vital that the rotated file be compressed immediately. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --PUgybOivvlPvn0/l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6rFLKGqCc1vIvggRAlfxAKCD1m/1C8ONh1RwyOQ3AqL0/dID7ACfcI2W 3nsErAjg8ZRAK4aAM6enkN8= =klv1 -----END PGP SIGNATURE----- --PUgybOivvlPvn0/l--