πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85808

Re: Disable logging in nnrpd

#85808
From: Jesse
Date: Tue, 24 Sep 2013 20:41
21 lines
2025 bytes
Julien Γ‰LIE wrote:
> 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.

Thanks for the advice, Julien.  I am now filtering in rsyslog for
messages from nnrpd and this is working great.
Technical Details
Message-ID: <73024$5241f8ea$c777789e$16904@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!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!nntpswitch.blueworldhosting.com!not-for-mail
References: <bfde7$5241abc7$c777789e$16400@nntpswitch.blueworldhosting.com> <l1ssbp$rct$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <73024$5241f8ea$c777789e$16904@nntpswitch.blueworldhosting.com>
Subject: Re: Disable logging in nnrpd
Date: Tue, 24 Sep 2013 15:41:13 -0500
From: Jesse <jesse.rehmer@blueworldhosting.com>
References: <bfde7$5241abc7$c777789e$16400@nntpswitch.blueworldhosting.com> <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!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!nntpswitch.blueworldhosting.com!not-for-mail
User-Agent: Postbox 3.0.8 (Macintosh/20130427)
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <l1ssbp$rct$1@news.trigofacile.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@blueworldhosting.com
Organization: BWH Usenet NNTPSwitch-Cluster
Lines: 21
NNTP-Posting-Date: Tue, 24 Sep 2013 15:41:14 -0500
X-Trace: 730245241f8ea62d2dd3b16904