🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by pt Tue, 01 Apr 2003 14:24
Turnoff all fetchnews syslog logging?
#122487
Author: pt
Date: Tue, 01 Apr 2003 14:24
16 lines
1854 bytes
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...
Re: Turnoff all fetchnews syslog logging?
#122490
Author: Sylvan Butler
Date: Tue, 01 Apr 2003 16:59
22 lines
1896 bytes
On Tue, 01 Apr 2003 07:24:27 -0700, pt <mnemotronic@mindspring/*nospam*> wrote:
> Is there a setting for leafnode/fetchnews that will prevent the standard
> logging like the following into my syslog?  

See syslog.conf (usually in /etc).

I use:
  news.*  /var/log/newslog
but you could set a restrictive priority (in place of my '*') for
messages you do want logged, and/or just send the unwanted to
/dev/null instead of a logfile.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   >>>> change ^ to @ <<<< |
  It may be better to live under robber barons than under omnipotent moral
  busybodies.  The robber baron's cruelty may sometimes sleep, his
  cupidity may at some point be satiated; but those who torment us for our
  own good will torment us without end, for they do so with the approval
  of their consciences. -- C. S. Lewis
Re: Turnoff all fetchnews syslog logging?
#122536
Author: Matthias Andree
Date: Wed, 02 Apr 2003 08:56
34 lines
2665 bytes
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.

Remember to send your syslogd a HUP signal to have it re-read its
configuration. (try: kill -1 `cat /var/run/syslogd.pid`)

-- 
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/
Re: Turnoff all fetchnews syslog logging?
#122580
Author: 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!
Re: Turnoff all fetchnews syslog logging?
#122695
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads