From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1165 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: monitoring svlogd-produced logfiles Date: Thu, 15 Jun 2006 03:25:26 +0300 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20060615002526.GC20474@home.power> References: <20060614233508.GP898@annvix.org> <20060614235909.GA20474@home.power> <20060615001005.GR898@annvix.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" X-Trace: sea.gmane.org 1150331135 5896 80.91.229.2 (15 Jun 2006 00:25:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jun 2006 00:25:35 +0000 (UTC) Original-X-From: supervision-return-1401-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jun 15 02:25:34 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 1Fqffr-0005c6-3i for gcsg-supervision@gmane.org; Thu, 15 Jun 2006 02:25:27 +0200 Original-Received: (qmail 31187 invoked by uid 76); 15 Jun 2006 00:25:48 -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 31181 invoked from network); 15 Jun 2006 00:25:48 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060615001005.GR898@annvix.org> User-Agent: Mutt/1.5.11 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1165 Archived-At: --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --neYutvxvOLaeuPCA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEkKj2VItT6Fy+r6QRAgrjAJ0YRFoEx+LE2whrv9XmiE1vyzG4bwCgykkC 8vNlI5F+l9zptoQaHgxBAEo= =+9Cm -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--