From: Alex Efros <powerman@powerman.asdfGroup.com>
Subject: Re: monitoring svlogd-produced logfiles
Date: Thu, 15 Jun 2006 03:25:26 +0300 [thread overview]
Message-ID: <20060615002526.GC20474@home.power> (raw)
In-Reply-To: <20060615001005.GR898@annvix.org>
[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]
Hi!
On Wed, Jun 14, 2006 at 06:10:05PM -0600, Vincent Danen wrote:
> No, I do need svlogd to write to disk. Well, maybe not. I'm using
You'd better clarify itself, to write or not to write. ;-)
> /dev/log... can I have two socklog processes doing that?)
You don't need two socklog reading from /dev/log. ;) Anyway, it's unix
socket, not a fifo... I don't think you can have two listeners on single
unix socket.
> No, I need svlogd to write the logs to disk. In addition to the on-disk
> logs, I want something to process those logs in realtime... to make a
> summary log and something that I can have sitting open writing matched
> entries to STDOUT so I can view it over ssh on my desktop... in
> realtime.
Duplicating messages to STDERR from svlogd will allow you to receive them
in realtime.
> What does <> do? I've never seen that notation before.
man bash.
Open read/write to workaround case there nobody open this fifo for writing yet.
> BTW, I think I sent the response on the "tail -F" thing to you and not
> the list... to summ, I did try "-n 0 -F" and it didn't follow. Could be
> a swatch thing tho... I'll have to try it again and see if it still
> doesn't work. If it doesn't, I still need to find an alternative to it,
> so any suggestions are welcome.
Yep. To summ my reply :) I suggest using script-wrapper around tail to
a) force needed params for tail
b) debug which param swatch try to use when running tail (without hard
things like strace)
--
WBR, Alex.
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-06-15 0:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 23:35 Vincent Danen
2006-06-14 23:40 ` Alex Efros
2006-06-16 11:03 ` George Georgalis
2006-06-16 11:08 ` Alex Efros
2006-06-16 13:18 ` George Georgalis
2006-06-16 19:08 ` Vincent Danen
2006-06-18 2:48 ` George Georgalis
2006-06-18 2:57 ` Alex Efros
2006-06-14 23:59 ` Alex Efros
2006-06-15 0:10 ` Vincent Danen
2006-06-15 0:25 ` Alex Efros [this message]
2006-06-15 3:32 ` Vincent Danen
2006-06-15 16:32 ` Vincent Danen
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=20060615002526.GC20474@home.power \
--to=powerman@powerman.asdfgroup.com \
/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).