Table of Contents
Errors, debug messages, traces, etc, are logged through syslog with aftr as the program name.
The default facility is LOG_LOCAL5
(can be
changed at compile time by setting AFTRFACILITY
),
the default openlog()
option is
LOG_NDELAY
(can be changed at compile time by
setting AFTRLOGOPTION
, for instance to add
LOG_PID
). Levels are:
critical errors (i.e., the process must be rebooted)
to LOG_CRIT
error conditions (i.e., bad packets, not critical
memory allocation failures, bad commands, etc) to
LOG_ERR
warnings to LOG_WARNING
informational messages (including I/O logs) to
LOG_INFO
debug messages (cf. debug set xxx) to
LOG_DEBUG
trace messages (see next section) to
LOG_NOTICE
Trace messages are:
tunnel add|del client_IPv6
seconds
bucket
client_IPv6
natted_IPv4
tcp|udp
[#port
]+
If TRACE_NAT was defined at compile time (default is undefined):
if NOPRIVACY is kept undefined:
seconds
nat add|del
client_IPv6
tcp|udp
natted_IPv4
port
if NOPRIVACY is defined:
seconds
nat add|del
client_IPv6
tcp|udp
client_IPv4
client_port
natted_IPv4
natted_port
destination_IPv4
destination_port