Greetings, ye monks so monkey.
I have a really weird problem with Sys::Syslog. In Linux, it seems to work normally, and on OpenBSD I get nothing. No log messages, no errors, nothing.
Does anyone know why this might be? Or does anyone know a good way to get verbosity from Sys::Syslog or syslogd? I'm hoping for someone who understands the underpinnings of syslog and might know what's going on here. Since it works on Linux, I don't think it's a problem with my code.
I've tried a few different log levels and facilities.
UPDATE:#! /usr/bin/perl -w -T use strict; use Sys::Syslog qw(:standard :macros); openlog('Wibble','pid,nowait',LOG_USER) || die "Whaaaaaa\n"; syslog(LOG_ALERT,"This is a test") || die "BOO HOO\n" ;
If I specify 'unix' as the connection type, it works. So, I still don't know what the real problem was, but at least I can get on with my work...
setlogsock('unix')
In reply to Sys::Syslog Troubles by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |