[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: How to get less output in syslog?
On Tue, Oct 20, 2009 at 09:07:55AM +0200, Matthias Andree wrote:
> Am 19.10.2009, 22:20 Uhr, schrieb Chris G <cl@xxxxxxxx>:
>> Is there any way to reduce fetchnews' verbosity in syslog? By default
>> it outputs a line to syslog for every newsgroup being read. At
>> present about 99% of my syslog is fetchnews output! It's not a major
>> problem but it would be nice to quieten it down a bit.
>> The README file tells me how to *increase* output to syslog but not
>> how to reduce it.
> That's a courtesy of the leafnode documentation, because not capturing
> news logging used to be a very common problem among distributions.
> Otherwise, the usual syslog configuration (/etc/syslog.conf usually) is
> the way to go. Likely using something like "news.warning" there will
> help; most syslogds I know need SIGHUP to re-read their configuration.
Hmmmmm. My /etc/syslog.conf has the following relating to news:-
# Logging for INN news system
which works perfectly, there are the expected, quite small, files in
My problem is the huge amount of logging being put into
/var/log/syslog and this is controlled by a the line:-
So I guess I need to add a bit for news:-
However this will presumably turn off *all* the fetchnews logging in
syslog. I'd quite like some indication that fetchnews is running but
witout the reporting of every newsgroup. E.g. at present I get:-
Oct 20 09:53:01 chris /USR/SBIN/CRON: (news) CMD (if [ -x /etc/news/leafnode/do-fetch-n>
Oct 20 09:53:01 chris fetchnews: news.eternal-september.org: connected to 184.108.40.206>
Oct 20 09:53:02 chris fetchnews: news.eternal-september.org: 0 articles posted.
Oct 20 09:53:02 chris fetchnews: news.eternal-september.org: got 0 new newsgroups.
Oct 20 09:53:02 chris fetchnews: news.eternal-september.org: reading server info from />
Oct 20 09:53:02 chris fetchnews: uk.business.telework: no new articles
Oct 20 09:53:02 chris fetchnews: fr.rec.bateaux: no new articles
Oct 20 09:53:03 chris fetchnews: misc.transport.rail.europe: no new articles
[60 or so more lines like this]
Oct 20 09:53:07 chris fetchnews: news.annexcafe.com: connected to 220.127.116.11:119, rep>
Oct 20 09:53:08 chris fetchnews: news.annexcafe.com: 0 articles posted.
Oct 20 09:53:08 chris fetchnews: news.annexcafe.com: got 0 new newsgroups.
Oct 20 09:53:08 chris fetchnews: news.annexcafe.com: reading server info from /var/spoo>
Oct 20 09:53:08 chris fetchnews: annexcafe.announce: no new articles
Oct 20 09:53:08 chris fetchnews: annexcafe.dba.blacksea: no new articles
Oct 20 09:53:09 chris fetchnews: annexcafe.dba.social: no new articles
Just the first line above and one line for each NNTP server connected
to would be sufficient to tell me when fetchnews is connecting. Then
turn on debugging in some shape or form to see the individual
newsgroups being collected. It would be really nice if, for example,
I could set "debugmode=-1" in the leafnode configuration to turn
things down a bit.
leafnode-list mailing list