🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Francis C. Swasey Mon, 18 Aug 1997 00:00
innlog.pl (inn 1.6b3)
#20622
Author: 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-

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads