Article View: news.software.nntp
Article #69911Why filter_innd.pl don't write to syslog
From: Darth Maul
Date: Sat, 18 Sep 2004 15:06
Date: Sat, 18 Sep 2004 15:06
10 lines
1633 bytes
1633 bytes
This is fragment of filter_innd.pl, sub filter_art:
sub filter_art {
openlog("filter_innd", "pid", "news");
syslog("notice", "testnax");
closelog();
This code don't write to news.notice, then anybody post any article.
But if this code run apart as independed proccess from user "news", it will write to news.notice.
Why ? How to write to syslog from filter_innd.pl ?
Technical Details
Message-ID:
<cihiu3$2ind$1@news.comcor-tv.ru>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.telebyte.nl!news1.spb.su!demos!news.rssi.ru!mtu.ru!news.comcor-tv.ru!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <cihiu3$2ind$1@news.comcor-tv.ru> Subject: Why filter_innd.pl don't write to syslog Date: Sat, 18 Sep 2004 19:06:43 +0400 From: "Darth Maul" <zinin@comtv.ru> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.telebyte.nl!news1.spb.su!demos!news.rssi.ru!mtu.ru!news.comcor-tv.ru!not-for-mail Newsgroups: news.software.nntp Organization: Comcor-TV Lines: 10 NNTP-Posting-Host: 217.10.43.32 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: news.comcor-tv.ru 1095520003 84717 217.10.43.32 (18 Sep 2004 15:06:43 GMT) X-Complaints-To: newsmaster@comcor-tv.ru NNTP-Posting-Date: Sat, 18 Sep 2004 15:06:43 +0000 (UTC) X-Comment-To: All X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 FL-Build: Fidolook 2002 (SL) 6.0.2800.86 - 14/6/2003 22:16:25 X-CAI: 6f4d717043545850574b51 X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MSMail-Priority: Normal