🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85807

Re: Disable logging in nnrpd

#85807
From: Julien ÉLIE
Date: Tue, 24 Sep 2013 20:23
23 lines
2192 bytes
Hi Jesse,

> I may just be having a derp moment, but I cannot find any way through
> configuration files or command-line switches to disable logging in nnrpd.
>
> Does a simple method exist or will it require code modification?

Which logging facility are you using?
I for one use syslog-ng and I read in its documentation that filtering 
is possible directly on the name of a program.

   http://www.syslog.org/syslog-ng/v2/#filterfunc
"program(regexp) Match messages by using a regular expression against 
the program name field of log messages"

You could then discard messages from nnrpd, and keep those from innd or 
other news services.

-- 
Julien ÉLIE

« Memoriam quoque ipsam cum uoce perdidissemus, si tam in nostra
   potestate esset obliuisci quam tacere. » (Tacite, _Vie d'Agricola_)
Technical Details
Message-ID: <l1ssbp$rct$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!eu.feeder.erje.net!easy.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-652-1-248-235.w86-198.abo.wanadoo.fr!not-for-mail
References: <bfde7$5241abc7$c777789e$16400@nntpswitch.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <l1ssbp$rct$1@news.trigofacile.com>
Subject: Re: Disable logging in nnrpd
Date: Tue, 24 Sep 2013 22:23:20 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <bfde7$5241abc7$c777789e$16400@nntpswitch.blueworldhosting.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!eu.feeder.erje.net!easy.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-652-1-248-235.w86-198.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 24 Sep 2013 20:23:21 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-652-1-248-235.w86-198.abo.wanadoo.fr:86.198.127.235";
 logging-data="28061"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8;
In-Reply-To: <bfde7$5241abc7$c777789e$16400@nntpswitch.blueworldhosting.com>
Lines: 22