On Monday, Nov 24, 2003, at 15:32 US/Pacific, Beau E. Cox wrote: [..]
I'm having trouble logging to syslog on my Linux (Sorcerer)
machine with perl 8.0.2 installed. This script logs nothing:

#!/usr/bin/perl

use strict;
use warnings;
use Sys::Syslog qw(:DEFAULT setlogsock);

setlogsock('unix');
openlog($0, 'cons,pid', 'user');
syslog('err', 'test error msg');
closelog();
[..]

I know that you found a way around this with
the Unix::Syslog code. But thought I would mention
that this works fine on SuSe, running their v5.8.1
just as is:

Nov 25 08:41:21 meatbop sys_log.plx[31368]: test error msg

So there could be some 'issue' either with that version
of perl on that version of the OS...



ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to