🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34359

Re: INN 2.2b2 - reducing error log verbosity

#34359
From: Russ Allbery
Date: Mon, 04 Jan 1999 00:00
44 lines
2446 bytes
Jeremy <jeremy@exit109.com> writes:
> Conrad Sabatier <conrads@neosoft.com> wrote:

>> I'm seeing tons of the following from the error log in my news.daily
>> reports:

>> Fri Dec 25 18:54:24 1998: starting
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/checkgroups.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/ihave.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/newgroup.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/rmgroup.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/sendme.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/sendsys.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/senduuname.pl
>> Fri Dec 25 18:54:24 1998: loaded $inn::controlprogs/version.pl

>> Anyway to lose these?  Makes it rather difficult to spot any real errors.

> Go into controlchan and disable syslogging.

Better yet, fix innreport so that it ignores controlchan's output.  There
may be some statistical summary that I can think of that might be useful
eventually, and that way you still have the logs there in case you ever
want them.  Here's a patch:

Index: /afs/ir/src/leland/news/inn-STABLE/samples/innreport_inn.pm
===================================================================
RCS file: /afs/ir/dev/cvs/leland/news/inn/samples/innreport_inn.pm,v
retrieving revision 1.5.2.1
diff -u -r1.5.2.1 innreport_inn.pm
--- innreport_inn.pm	1998/10/25 08:06:10	1.5.2.1
+++ innreport_inn.pm	1999/01/04 17:56:46
@@ -1579,6 +1579,7 @@
   return 1 if ($prog eq "newsx");
   return 1 if ($prog eq "demmf");
   return 1 if ($prog eq "nnnn");
+  return 1 if ($prog eq "controlchan");
   return 0;
 }

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylhfu63oos.fsf@windlord.stanford.edu>
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
References: <763v47$225v$1@dolphin.neosoft.com> <766eko$kc4$1@east44.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylhfu63oos.fsf@windlord.stanford.edu>
Subject: Re: INN 2.2b2 - reducing error log verbosity
Date: Mon, 04 Jan 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <763v47$225v$1@dolphin.neosoft.com> <766eko$kc4$1@east44.supernews.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
X-Deja-AN: 428698814
Sender: eagle@windlord.stanford.edu
To: inn-patches@isc.org, innreport@oleane.net
Organization: The Eyrie
Newsgroups: news.software.nntp