🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #122695

Re: Turnoff all fetchnews syslog logging?

#122695
From: Mike Vanecek
Date: Sat, 05 Apr 2003 01:57
52 lines
2860 bytes
On Thu, 03 Apr 2003 06:55:55 -0700, pt wrote:
> "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!

Do not forget to setup a logrotate entry either in /etc/logrotate.conf
or /etc/logrotate.d to rotate your news file. Otherwise, it might get
rather large ...

Mike

Technical Details
Message-ID: <bhp1m-fri.ln1@news.invalid.99computer>
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!sjc70.webusenet.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <r1kol-9nh.ln1@tachyon.50.bmg> <m3vfxx1dnb.fsf@merlin.emma.line.org> <b4rtl-2o7.ln1@tachyon.50.bmg>

Show Full Headers
Complete Article Headers
Message-ID: <bhp1m-fri.ln1@news.invalid.99computer>
Subject: Re: Turnoff all fetchnews syslog logging?
Date: Sat, 05 Apr 2003 01:57:24 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <r1kol-9nh.ln1@tachyon.50.bmg> <m3vfxx1dnb.fsf@merlin.emma.line.org> <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!sjc70.webusenet.com!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 51
X-Archive: encrypt
User-Agent: slrn/0.9.7.4 (Linux)