| Net::Server::Log::Sys::Syslog(3) | User Contributed Perl Documentation | Net::Server::Log::Sys::Syslog(3) | 
Net::Server::Log::Sys::Syslog - log via Syslog
    use base qw(Net::Server::PreFork);
    __PACKAGE__->run(
        log_file => 'Sys::Syslog',
        syslog_ident => 'myapp',
    );
This module provides Sys::Syslog logging to the Net::Server system.
If the magic name "Sys::Syslog" is used, all logging will take place via the Sys::Syslog module. If syslog is used the parameters "syslog_logsock", "syslog_ident", and "syslog_logopt",and "syslog_facility" may also be defined.
See Sys::Syslog.
The following arguments are available in the default "Net::Server" or "Net::Server::Single" modules. (Other personalities may use additional parameters and may optionally not use parameters from the base class.)
    Key               Value                    Default
    ## syslog parameters (if log_file eq Sys::Syslog)
    syslog_logsock    (native|unix|inet|udp
                       |tcp|stream|console)    unix (on Sys::Syslog < 0.15)
    syslog_ident      "identity"               "net_server"
    syslog_logopt     (cons|ndelay|nowait|pid) pid
    syslog_facility   \w+                      daemon
Distributed under the same terms as Net::Server
| 2017-08-10 | perl v5.34.0 |