Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 22:08:09 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        "Ilia E. Chipitsine" <ilia@cgu.chel.su>
Cc:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>, questions@freebsd.org
Subject:   Re: user-ppp and "set log"
Message-ID:  <20000527220809.B59863@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.21.0005271618470.17444-100000@mail.cgu.chel.su>
References:  <20000527095103.A233@parish> <Pine.BSF.4.21.0005271618470.17444-100000@mail.cgu.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilia E. Chipitsine wrote:

> no, I don't care.
> there's a reason: I wrote an awk program, which catches ppp's log
> (thank to syslog.conf !). I want all the ppp's log go to STDIN
> of my program, there's simply nobody who reads logs.

So what's the problem?  Just write your awk program properly so it ignores
the lines you don't want.  All PPP log entries say which category they are
anyway:

May 27 21:47:26 scientia ppp[77756]: tun0: LCP: deflink: LayerUp 
May 27 21:47:26 scientia ppp[77756]: tun0: LQM: deflink: LQR/ECHO LQR not negotiated 
May 27 21:47:26 scientia ppp[77756]: tun0: Phase: bundle: Authenticate 
.. etc

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000527220809.B59863>