Rainaer wrote:
> does [Appender for Net::Syslog] allready exist? I can't seem to find it if it does? I'm
> supprised that I cannot find it or that no one has attempted this before.
>
> Basically I would like to use log4perl to write to a centralized syslog
> that allready exists and is accepting sysloging from other systems.
>
> Any input would be appreaciated? Are there limitations within
log4perl
> which make this not possible?
Log::Dispatch::Syslog uses the standard unix syslog mechanism which
talks to the local syslogd daemon (see "man 3 syslog". You can
configure syslogd to forward messages to other hosts via
/etc/syslog.conf, like this:
local3.* @my.syslog.host.com
That's the typical unixy way to do it. I don't see any reason why you
couldn't write a Net::Syslog appender. The only reason it hasn't been
done is that nobody's needed to, given the above mechanism.
|