|
NAMELog::Agent::Channel::Syslog - syslog logging channel for Log::Agent::Logger SYNOPSIS require Log::Agent::Channel::Syslog;
my $channel = Log::Agent::Channel::Syslog->make(
# Specific attributes
-prefix => prefix,
-facility => "user",
-showpid => 1,
-socktype => { port => 514, type => "udp" },
-logopt => "ndelay",
);
DESCRIPTIONThe syslog logging channels directs operations to syslog() via the Sys::Syslog(3) interface. The creation routine make() takes the following switches:
-socktype => { port => 60514, type => "tcp" }
but there are many other configuration possibilities. AUTHORRaphael Manfredi <Raphael_Manfredi@pobox.com> SEE ALSOLog::Agent::Logger(3), Sys::Syslog(3).
|