Article View: news.software.nntp
Article #35889Re: Perl and Syslog
From: Phat Phork-Phed Phluffy
Date: Wed, 10 Mar 1999 00:00
Date: Wed, 10 Mar 1999 00:00
35 lines
2053 bytes
2053 bytes
{snecked, posted and mailed.}
>>>>> "Bernhard" == News System <verstege@hik.fzk.de> writes:
Bernhard> use Sys::Syslog;
Bernhard> After running h2ph -a -h in one of these directories I get
Bernhard> no more error messages, but I get no syslog entry at all.
Bernhard> Any hints ?
I *knew* I was forgetting something.
Grab and install
<URL:http://members.tripod.com/~gerglery/k0dez/INN_Syslog_1.0.tar.gz>
. It's about 12K. The only change to your script after putting in
this module will be to change the 'use Sys::Syslog;' to 'use
INN::Syslog;'
This version of the module takes the h2ph mess out of the picture if
at all possible (which is nearly all cases except for some Ultrix
cruft that won't die). The fix for Solaris is in this one too.
If instead you want to try and make the original Sys::Syslog work, you
can try adding this undocumented call:
Sys::Syslog::setsockopt('unix');
--
"We can't legislate against every stupid thing people will do, and yet the
temptation is there to try time and time again." --Jesse 'The Body' Ventura
New stuff: "Meowing in Cahoots with the Vulis"
<URL:http://www.mp3.com/music/Alternative/8446.html> (fake addy for d/l okay)
Technical Details
Message-ID:
<87r9qxfz6x.fsf@meowhost.meow.invalid>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:
<36E632C2.8F3D5FAB@hik.fzk.de>Show Full Headers
Complete Article Headers
Message-ID: <87r9qxfz6x.fsf@meowhost.meow.invalid> Subject: Re: Perl and Syslog Date: Wed, 10 Mar 1999 00:00:00 +0000 From: Phat Phork-Phed Phluffy <hipQrimE@myremarQ.coM> References: <36E632C2.8F3D5FAB@hik.fzk.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: 453329182 Sender: fluffy@meowhost.meow.invalid Mail-Copies-To: never X-Notice: should be reported to postmaster@ibm.net X-Complaints-To: postmaster@ibm.net X-Trace: 10 Mar 1999 09:53:46 GMT, 32.100.244.55 Organization: If one may meow, all may meow. X-Attribution: Mw Cancel-Lock: sha1:dtoYx2DiXKmp0kS+sudrjRrCI+s= Newsgroups: news.software.nntp