Article View: news.software.nntp
Article #26345Re: Where to send fastcancel output in c-nocem with INN?
From: Julio Sanchez
Date: Tue, 17 Feb 1998 00:00
Date: Tue, 17 Feb 1998 00:00
62 lines
2936 bytes
2936 bytes
olaf@bigred.inka.de (Olaf Titz) writes: > This is the file where syslog sends news.notice, right? (Actual file > name is highly configuration dependent...) No, it is INN's standard output and has lines like this (wrapped around): Feb 17 09:05:46.573 + news-feed1.eu.concert.net <6cbfjt$2ea$1@nnrp1.dejanews.com> (comp/os/linux/networking/104391) 1365 crosspost overview! feedinfo! path! feed1 feed2 ... One could not help but wonder if you had this in mind when you designed the c-nocem log lines (no, only joking, though I barely remember Cnews by now). > > Is it safe write to that file while innd is paused? > > No, although probably damage should be very unlikely. I know that output to that file is NOT line buffered, so merging is dangerous. However, I have experimentally checked that when INN is paused, output to that file is flushed, but I have been unable to find how this is done in the INN source (and such behaviour is not documented). > The correct way is to use the syslog daemon. Look in c-nocem for > "|fastcancel -li$opt_k$opt_r -f '$lf' $fcadd >>$newsctl/log") > and replace that with > "|fastcancel -li$opt_k$opt_r -f '$lf' $fcadd |logger -p news.notice") No, this is out of the question, since INN does not use syslog to write that file. > Depends on what you want to analyze the log with, but in general, it > doesn't gain you anything, since you have the same information, just > in another file. Is only that I hate having to cycle that file independently. Have been doing it manually up to now and was trying to decide what was the proper fix. > (You'll get a huge amount of "unknown log entries" > from stock innlog script.) I already do from fastcancel ;-) I'll try innreport anyway. > I would recommend against it and run whatever log-analyzing script > over the news log instead. Thanks for the advice (and for the soft ;-) Julio -- Julio Sanchez, SGI Soluciones Globales Internet Tel: +34 1 807 21 00 Fax: +34 1 807 21 99 WWW: http://www.esegi.es jsanchez@esegi.es jsanchez@gmv.es Have car, will LART PGP Key fingerprint = E5 29 93 6F 41 4E 00 E2 90 11 A1 8C 72 D0 DE 71
Technical Details
Message-ID:
<x04t1y1w1w.fsf@pcjjsf.gmv.es>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-mailReferences:
<x0d8grolai.fsf@pcjjsf.gmv.es> <6cacos$hh9$1@bigred.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <x04t1y1w1w.fsf@pcjjsf.gmv.es> Subject: Re: Where to send fastcancel output in c-nocem with INN? Date: Tue, 17 Feb 1998 00:00:00 +0000 From: Julio Sanchez <jsanchez@esegi.es> References: <x0d8grolai.fsf@pcjjsf.gmv.es> <6cacos$hh9$1@bigred.inka.de> 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: 325811546 Sender: jjsf@pcjjsf.gmv.es Content-Type: text/plain; charset=US-ASCII Organization: GMV, SA., Tres Cantos, Spain Mime-Version: 1.0 (generated by tm-edit 7.106) Newsgroups: news.software.nntp