Hi -

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();

Removing the 'setlogsock' doesn't help; still a noop.

Writing the same thing in C using syslog(3) calls, everthing
works.

???

Aloha => Beau;


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

Reply via email to