🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #122580

Re: Turnoff all fetchnews syslog logging?

#122580
From: pt
Date: Thu, 03 Apr 2003 13:55
44 lines
2946 bytes
"Matthias Andree" <matthias.andree@gmx.de> said
(<m3vfxx1dnb.fsf@merlin.emma.line.org>):

> pt <mnemotronic@mindspring/*nospam*\.com> writes:
> 
>> Is there a setting for leafnode/fetchnews that will prevent the
>> standard logging like the following into my syslog?
>>
>> ...:41 turkey fetchnews[18061]: news.admin.net-abuse.policy: no new
>> articles ...:42 turkey fetchnews[18061]: news.admin.technical: no new
>> articles ...:43 turkey fetchnews[18061]: news.software.misc: no new
>> articles ...:43 turkey fetchnews[18061]: news.software.nntp: no new
>> articles ...:43 turkey fetchnews[18061]: news.software.readers: no new
>> articles ...:44 turkey fetchnews[18061]: wrote active file with 28930
>> lines ...:44 turkey fetchnews[18061]: child has process ID 18070
>>
>> The config file has the "debugmode" line which is commented out: #
>> debugmode = 0
>>
>> Thanks in advance...
> 
> leafnode does not have settings to suppress this logging, but these
> lines are at "INFO" priority, so you can however reconfigure your
> /etc/syslog.conf to filter these out, try changing the left hand side of
> the news lines from news.debug or news.info or news.* to news.notice to
> reduce the amount of logged data, but remember to switch it back to
> news.debug when you've got trouble to shoot.

I added this to syslog.conf:
news.*	/var/log/news.log

I also had to read about syslog.conf and add an
entry "news.none" to the last line of the .conf file:
*.info;mail.none;authpriv.none;cron.none;news.none	/var/log/messages

> 
> Remember to send your syslogd a HUP signal to have it re-read its
> configuration. (try: kill -1 `cat /var/run/syslogd.pid`)
 
RHL let's me do:
service syslog restart

I'm a happy camper now!  Thanks!
Technical Details
Message-ID: <b4rtl-2o7.ln1@tachyon.50.bmg>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
References: <r1kol-9nh.ln1@tachyon.50.bmg> <m3vfxx1dnb.fsf@merlin.emma.line.org>

Show Full Headers
Complete Article Headers
Message-ID: <b4rtl-2o7.ln1@tachyon.50.bmg>
Subject: Re: Turnoff all fetchnews syslog logging?
Date: Thu, 03 Apr 2003 06:55:55 -0700
From: pt <mnemotronic@mindspring/*nospam*\.com>
References: <r1kol-9nh.ln1@tachyon.50.bmg> <m3vfxx1dnb.fsf@merlin.emma.line.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
Newsgroups: news.software.readers
Organization: Velocipoodle Breeders Club
Lines: 43
NNTP-Posting-Host: 3f.ba.30.d5
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Server-Date: 3 Apr 2003 13:57:46 GMT
User-Agent: Pan/0.11.4 (Unix)
X-Comment-To: "Matthias Andree" <matthias.andree@gmx.de>