L
Loic Minier
Hi,
I have trouble using the Sys::Syslog package under Solaris. If I use
'stream', I don't get anything logged, and if I log via udp instead,
all my logs are prefixed with the program name ($ident). This doesn't
happen with other programs running on the same host.
Here's the relevant Perl :
use Sys::Syslog qwDEFAULT setlogsock);
#setlogsock('stream'); # doesn't work
setlogsock('inet'); # or udp
syslog('info', "test\n");
Any idea on how to get stream at work? Or to get rid of the prefix?
Thanks,
I have trouble using the Sys::Syslog package under Solaris. If I use
'stream', I don't get anything logged, and if I log via udp instead,
all my logs are prefixed with the program name ($ident). This doesn't
happen with other programs running on the same host.
Here's the relevant Perl :
use Sys::Syslog qwDEFAULT setlogsock);
#setlogsock('stream'); # doesn't work
setlogsock('inet'); # or udp
syslog('info', "test\n");
Any idea on how to get stream at work? Or to get rid of the prefix?
Thanks,