Message::Passing::Output::Syslog - output messages to Syslog.
message-pass --input STDIN --output Syslog --output_options '{"hostname":"127.0.0.1","port":"5140"}'
Provides a syslogd client.
Can be used to ship syslog logs from a Message::Passing system.
The hostname to connect to
The port to connect to, defaults to 5140.
Because of the implementation of the underlying library this module currently always uses udp. You are free however to set this to tcp if that makes you happy.
udp
tcp
See Message::Passing::Syslog.
To install Message::Passing::Syslog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing::Syslog
CPAN shell
perl -MCPAN -e shell install Message::Passing::Syslog
For more information on module installation, please visit the detailed CPAN module installation guide.