Article View: news.software.nntp
Article #79723Re: cnfsstat not writing to syslog
From: Bruce Esquibel
Date: Fri, 21 Nov 2008 15:13
Date: Fri, 21 Nov 2008 15:13
25 lines
1821 bytes
1821 bytes
Russ Allbery <rra@stanford.edu> wrote:
> As of Sys::Syslog 0.15, you can disable this and force it to just call the
> libc syslog() function by calling:
> setlogsock('native');
> before using Sys::Syslog. I suspect that INN should start doing that as
> long as the version of Sys::Syslog is new enough. Could you give that a
> try and see if that fixes your problem?
Yeah, this seems to have hit the nail on the head.
Installing Sys-Syslog-0.27 and adding in
Sys::Syslog::setlogsock('native');
just before the openlog (line 70) in cnfsstat, not only fixed the lack of
the facility/level but also works just fine with the native syslogd on
Solaris.
Thanks much.
-bruce
bje@ripco.com
Technical Details
Message-ID:
<gg6j6c$335$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.dca.giganews.com!nntp.giganews.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!gail.ripco.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> <87vdui8ip7.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <gg6j6c$335$1@e250.ripco.com>
Subject: Re: cnfsstat not writing to syslog
Date: Fri, 21 Nov 2008 15:13:16 +0000
From: Bruce Esquibel <bje@e4500.ripco.com>
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> <87vdui8ip7.fsf@windlord.stanford.edu>
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.dca.giganews.com!nntp.giganews.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!gail.ripco.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Ripco Communications Inc.
Lines: 25
NNTP-Posting-Host: e4500.ripco.com
X-Trace: e250.ripco.com 1227280396 3173 209.100.227.1 (21 Nov 2008 15:13:16
GMT)
X-Complaints-To: usenet@ripco.com
NNTP-Posting-Date: Fri, 21 Nov 2008 15:13:16 +0000 (UTC)
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (SunOS/5.8 (sun4u))