Article View: news.software.nntp
Article #42128syslog in news2mail script given with INN 2.2
From: Etienne Gauthier
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
25 lines
1402 bytes
1402 bytes
Hi,
Along with INN 2.2, we have a script news2mail written by Brian
Kantor. As I don't have his mail, I post this message here.
On my test computer, the calls to syslog don't work, so there is no
logging (I have Perl 5.00503 on RedHat 6.0) ... because of a little
detail. A line should be added :
after :
use Sys::Syslog;
Insert this line :
Sys::Syslog::setlogsock('unix') if defined &Sys::Syslog::setlogsock;
This trick was taken from this page :
http://x44.deja.com/[ST_rn=ps]/getdoc.xp?AN=549331674&CONTEXT=945096923.520814620&hitnum=2
(Thanks to 'M.J.T. Guy <mjtg@cus.cam.ac.uk>')
Etienne
Technical Details
Message-ID:
<38550CEC.2DDB4936@capgemini.fr>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-mailShow Full Headers
Complete Article Headers
Message-ID: <38550CEC.2DDB4936@capgemini.fr> Subject: syslog in news2mail script given with INN 2.2 Date: Mon, 13 Dec 1999 00:00:00 +0000 From: Etienne Gauthier <egauthie@capgemini.fr.nospam> 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: 560115954 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@oleane.net X-Trace: minus.oleane.net 945100659 31382 194.3.234.177 (13 Dec 1999 15:57:39 GMT) Organization: Cap Gemini Mime-Version: 1.0 NNTP-Posting-Date: 13 Dec 1999 15:57:39 GMT Newsgroups: news.software.nntp