🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20622

innlog.pl (inn 1.6b3)

#20622
From: Francis C. Swasey
Date: Mon, 18 Aug 1997 00:00
27 lines
1517 bytes
Having gotten tired of seeing the daily barage of "Unknown messages"
from my syslog output of "flush_file: 3 files"... I modified the
innlog.pl script to handle flush_file: in addition to the "flush_file"
that it already handled.

------8<------------8<------------8<-----------8<-----------8<----------
--- innlog.pl.orig	Thu Jul 31 12:34:39 1997
+++ innlog.pl	Mon Aug 18 10:04:44 1997
@@ -491,7 +491,8 @@
 	    next;
 	}
 
- 	if ($Fld[7] eq 'flush_file') {
+ 	if ($Fld[7] eq 'flush_file' || $Fld[7] eq 'flush_file:') {
+	    $Fld[7] =~ s/://;
 	    $ctlinnd_type{$Fld[7]} = 0 unless defined $ctlinnd_type{$Fld[7]};
  	    $ctlinnd_type{$Fld[7]}++;
  	    $ctlinnd_seen++;
------8<------------8<------------8<-----------8<-----------8<----------

-- 
e-mail: fswasey@btv.ibm.com                                   ,,,
Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446)   (o o)
           Speaking *from* but not *for* IBM           -oOOO--(_)--OOOo-

Technical Details
Message-ID: <5t9mc4$19m6$1@mdnews.btv.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5t9mc4$19m6$1@mdnews.btv.ibm.com>
Subject: innlog.pl (inn 1.6b3)
Date: Mon, 18 Aug 1997 00:00:00 +0000
From: fswasey@btv.ibm.com (Francis C. Swasey)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 265055331
Organization: IBM Microelectronics Division
Reply-To: fswasey@btv.ibm.com
Newsgroups: news.software.nntp