Article View: news.software.nntp
Article #79704Re: cnfsstat not writing to syslog
From: Julien ÉLIE
Date: Thu, 20 Nov 2008 14:53
Date: Thu, 20 Nov 2008 14:53
27 lines
2272 bytes
2272 bytes
Hi Bruce,
> I noticed this morning what the problem seems to be is cnfsstat is just
> writing to syslog but without the facility and level.
>
> I'm guessing from the start of cnfsstat where it reads innshellvars.pl is
> where the syslog data is being passed along to it ($syslog_facility =
> lc("LOG_NEWS");) but can't really say where it's screwing up.
Then:
$syslog_facility = "news";
("LOG_" is removed by innshellvars.pl.)
There is only one call in cnfsstat:
syslog ('notice', '%s Buffer %s, len: %.2f Mbytes, used: %.2f Mbytes (%4.1f%%) %3d cycles',
$logline, $name, $len / (1024 * 1024),
Math::BigFloat->new ($free) / (1024 * 1024),
100 * Math::BigFloat->new ($free) / $len, $cyclenum);
The level is "notice".
--
Julien ÉLIE
« César, c'est un Jules tout de même ! » (Astérix)
Technical Details
Message-ID:
<gg3tmu$8rm$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gg166a$7v9$1@e250.ripco.com> <gg1a5j$4uh$1@news.trigofacile.com> <gg1n5l$doi$1@e250.ripco.com> <gg2437$i21$1@e250.ripco.com> <gg3s31$4vg$1@e250.ripco.com>Show Full Headers
Complete Article Headers
Message-ID: <gg3tmu$8rm$1@news.trigofacile.com> Subject: Re: cnfsstat not writing to syslog Date: Thu, 20 Nov 2008 15:53:40 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gg166a$7v9$1@e250.ripco.com> <gg1a5j$4uh$1@news.trigofacile.com> <gg1n5l$doi$1@e250.ripco.com> <gg2437$i21$1@e250.ripco.com> <gg3s31$4vg$1@e250.ripco.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 27 NNTP-Posting-Host: amontpellier-152-1-52-250.w83-197.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1227192863 9078 83.197.145.250 (20 Nov 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 20 Nov 2008 14:54:23 +0000 (UTC) In-Reply-To: <gg3s31$4vg$1@e250.ripco.com> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049