supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Michael P. Soulier" <msoulier@digitaltorque.ca>
Cc: supervision@list.skarnet.org
Subject: Re: compressing rotated logfiles
Date: Wed, 8 Feb 2006 22:04:43 -0500	[thread overview]
Message-ID: <20060209030443.GD357@tigger.digitaltorque.ca> (raw)
In-Reply-To: <Pine.LNX.4.61.0602081208480.5555@e-smith.charlieb.ott.istop.com>

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

On 08/02/06 Charlie Brady said:

> Since I assume that you are doing this on linux, I'd suggest that you use 
> inotify to watch the log directory and do renames when svlogd has finished 
> its post-processing.
> 
> Perl API is here:
> 
> 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

-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-02-09  3:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 16:40 Michael P. Soulier
2006-02-08 17:10 ` Charlie Brady
2006-02-09  3:04   ` Michael P. Soulier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060209030443.GD357@tigger.digitaltorque.ca \
    --to=msoulier@digitaltorque.ca \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).