User`s guide
System Logging
Chapter 16 Configuration Menu Interface 244
System Logging
System logging is a two-part process. First, the device being used to record
the system logs must be configured. Second, system logging must be
configured for the system under System status and log. System logs can
be saved to the Digi Passport unit’s system memory (there is no need to
configure the memory), a compact-flash card, an NFS server, or a
SYSLOG server.
Configure the System Log Device
To configure the compact-flash card for system logging, see "Add a
Compact-flash Card" on page 43. In the Digi Passport unit, all log
messages are sent to the syslog-ng daemon. The local 0 facility is only
used for system log messages. The local 1 ~ local7 facilities can be used
for port log.
To configure system or port logging to the Syslog server (syslog-ng), go to
the System logging or Port logging menu. There is no enable/disable
option for System log to SYSLOG server because it is default function.
The facility for each port log from local1 to local7 can be specified. The
local 0 facility is fixed for system log. With this configuration, the
management of all messages sent to Syslog server (syslog-ng) can be
configured during configuration of SYSLOG-NG.
By default, the syslog-ng configuration has an internal RAMDISK,
/var/log/messages, that logs the configuration for system log message
(local 0). To change filter options for this default configuration, click it. The
Syslog-NG filter configuration page has all filter options supported by the
syslog-ng daemon. For example, if the Priority(debug) option is added to
the default system log configuration, all local syslog messages with debug
priority are also logged to /var/log/messages. The Linux kernel and xinetd
send some of their messages to syslog with debug priority.
To send log messages to a remote syslog server, add a new destination to
the syslog-ng configuration, specifying destination=TCP/UDP and
location=IP address of remote server.