user
.# Log to the syslog facility called 'auth' Facility auth
info
.# Increase this logger priority to 'notice' Priority notice
%l:%U:%P:OK
. This logs time stamp in long format, current
User-Name, decoded password and text OK.%l:%U:%P:FAIL
.
This logs time stamp in long format, current User-Name, decoded password
and text FAIL.%l:%U:%P:IGNORE
. This logs time
stamp in long format, current User-Name, decoded password and text
IGNORE.native
eventlog
unix
inet
tcp
udp
stream
pipe
console
Sys::Syslog
default of native, tcp, udp, unix, pipe, stream,
console
.Sys::Syslog
Perl module, if you have multiple
<AuthLog SYSLOG>
, <AcctLog
SYSLOG>
or <Log SYSLOG>
clauses
and if any one has LogSock
defined, all of them must
have LogSock
defined.LogHost
and
LogPort
. If you have not defined
LogPort
and you see error "TCP service unavailable",
this means Sys::Syslog
is unable to find the
destination port. To resolve this, either use LogPort
to define the port or add syslog/tcp
or
syslogng/tcp
definitions to
/etc/services
file. For more information about
LogPort
, see Section 3.26.10. LogPort.LogPath /run/mysyslog/log.sock
LogSock
is set to
tcp
or udp
or inet
,
this optional parameter specifies the name or address of the syslog host.
Defaults to the local host. Special formatters are supported. For more
information, see Section 3.3. Special formattersLogHost
parameter is passed directly to Perl's
Sys::Syslog
module which will likely do a DNS query for
each logged message. This can cause performance problems and high number
of DNS requests with verbose log levels. It is recommended to not set
LogSock
and let the local syslog to do remote
logging.Sys::Syslog
does not support IPv6.
To log over IPv6, leave LogSock
unset and let the
local syslog do remote logging over IPv6.# Log to a remote host via syslog over udp: LogSock udp LogHost your.syslog.host.com
Sys::Syslog::openlog
.
LogOpt
is a comma separated list of words from the
set:cons
ndelay
nofatal
nowait
perror
pid
Sys::Syslog
documentation.pid
. Special characters
are supported.LogOpt pid,perror
ident
name Sys::Syslog
prepends to
every syslog message. Defaults to the executable name used to run radiusd.
Special formatters are supported. For more information, see Section 3.3. Special formatters# Also log server farm instance number LogIdent %h-%O
Sys::Syslog
chooses the port. Here is an example of
using LogPort
:
LogPort 5514
Sys::Syslog
0.28
or later.