JYDawg has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on a way to create a more generic way of logging using syslog-ng's unix-stream tag, but I'm missing a (good) way of accessing the socket through the regular perl Sys::Syslog or Unix::Syslog interface.
Basicly the socket has changed from the default /dev/log to /appl/dunno/var/log/socket. When I use logger -u /appl/dunno/var/log/socket "some message" it works. All I need now is a good way of doing this through perl.
Any idea's or sugestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sys::Syslog and socket location
by gellyfish (Monsignor) on Jan 06, 2005 at 11:29 UTC | |
by JYDawg (Novice) on Jan 07, 2005 at 11:24 UTC | |
by gellyfish (Monsignor) on Jan 07, 2005 at 12:05 UTC |