🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38696

Re: cleanfeed + diablo

#38696
From: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
45 lines
2513 bytes
In article <brad-1507991334420001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

>     Check the "logfile" directive in your cleanfeed.conf.  In mine, it is
> undefined (and that is not over-ridden with a cleanfeed.local file.  Try
> setting this to a file name where you want information logged, then kill
> the current daemon and allow Diablo to restart it.

    I just tested it.  In my cleanfeed.conf file, I now have:

   #########################################################
   ### Logging

     ### Verbose rejection reasons in news.notice/logfile?
   'verbose' => 1,

     ### Set the following to log the message ID's
     ### of all articles processed.
     ### Doesn't work for INN (uses news.notice instead).
   'logfile' => '/var/log/news/cleanfeed.log',
   'reportfile' => '/var/log/news/cleanfeed.reports',

     ### Should the above log, if used, log accepts as well as rejects?
   'log_accepts' => 1,

     ### Rotate the log (if used) at this size
   'max_log_size' => 10000000,
     
     ### Crude stats for tuning purposes (see documentation)
   'statfile' => '/var/log/news/cleanfeed.stats',


    And, it turns out that you only need to send a "HUP" signal to the
cleanfeed daemon, and it will re-read the configuration file.


    Of course, lots of logging can take an already heavily burdened server
and *totally* bury it with additional disk I/O, so you might want to be
very careful with these options.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Technical Details
Message-ID: <brad-1507991344330001@brad.techos.skynet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <378D9AA2.4F4D3C09@online.be> <brad-1507991204220001@brad.techos.skynet.be> <378DBFB9.CCA4073C@online.be> <brad-1507991334420001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <brad-1507991344330001@brad.techos.skynet.be>
Subject: Re: cleanfeed + diablo
Date: Thu, 15 Jul 1999 00:00:00 +0000
From: brad@shub-internet.org (Brad Knowles)
References: <378D9AA2.4F4D3C09@online.be> <brad-1507991204220001@brad.techos.skynet.be> <378DBFB9.CCA4073C@online.be> <brad-1507991334420001@brad.techos.skynet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 501296023
X-Complaints-To: abuse@skynet.be
X-Trace: news0.skynet.be 932039075 12864 195.238.1.121 (15 Jul 1999 11:44:35 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
NNTP-Posting-Date: 15 Jul 1999 11:44:35 GMT
Newsgroups: news.software.nntp