supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: George Georgalis <george@galis.org>
To: supervision@list.skarnet.org
Subject: Re: svlogd research
Date: Fri, 16 Nov 2007 17:08:24 -0500	[thread overview]
Message-ID: <20071116220824.GM22612@run.duo> (raw)
In-Reply-To: <20071116202313.GA11216@recycle.lbl.gov>

On Fri, Nov 16, 2007 at 12:23:13PM -0800, Larry Doolittle wrote:
>Friends -
>
>On Fri, Nov 16, 2007 at 03:10:44PM -0500, Charlie Brady wrote:
>> On Fri, 16 Nov 2007, Larry Doolittle wrote:
>>
>>> I want both a reliable local log, and an encrypted (via stunnel) remote 
>>> log, where I can't control the reliability of the remote logging machine 
>>> (or the network path to it).
>>
>> My recommendation is that you log locally and periodically (often) mirror 
>> the log directory remotely.
>
>Interesting suggestion.  I can't easily use it, because I also don't
>control the software running on the remote logging machine -- it is
>syslogd wrapped in SSL, non-negotiable.

in addition to your local log dir, you could also write to a fifo
where another program reads and writes to your remote syslogd.
Of course if you loose the remote connection there could be a
blocking issue.

another way is to use a processor to send log entries at rotation
time, and sent the alarm signal to the log daemon at what ever
interval you need to keep the remote updated. again, if you cannot
connect there will be a block, when you try to alarm the next time.

yet another way is to use a processor to signal another program to
start the remote connection and dump the new logfile (by alarm if
necessary). that could be done any number of ways and wouldn't block
if it failed, but watch out that svlogd doesn't rotate away log files
that haven't been transferred yet.

// George


-- 
George Georgalis, information system scientist <IXOYE><


      reply	other threads:[~2007-11-16 22:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 19:57 Larry Doolittle
2007-11-16 20:10 ` Charlie Brady
2007-11-16 20:23   ` Larry Doolittle
2007-11-16 22:08     ` George Georgalis [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=20071116220824.GM22612@run.duo \
    --to=george@galis.org \
    --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).