From owner-freebsd-questions Sat May 27 15:31:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id E37DB37BA49 for ; Sat, 27 May 2000 15:31:47 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12vnoY-000NeU-00; Sat, 27 May 2000 22:08:10 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12vnoX-000C6E-00; Sat, 27 May 2000 22:08:09 +0100 Date: Sat, 27 May 2000 22:08:09 +0100 From: Ben Smithurst To: "Ilia E. Chipitsine" Cc: Mark Ovens , questions@freebsd.org Subject: Re: user-ppp and "set log" Message-ID: <20000527220809.B59863@strontium.scientia.demon.co.uk> References: <20000527095103.A233@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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