Destinations Supported There are three destinations supported for logging; namely file, stdout and monitor. - File: This referes to /var/log/quagga/dameon_name.log. File can not be changed but log level for this file can be changed through CLI.
- Stdout: This refers to /dev/console. Log level for this can be changed through CLI.
- Monitor: This refers to tty of user “router”. All the logs destined to monitor will reach to all the terminals that are logged in as “router” user. Log level for this can be changed through CLI.
Log Levels Log Level can take one of the following values (listed in decreasing order of severity): - emergency
- alert
- critical
- error
- warning
- notice
- information
- debug
All the log messages with severity (ie log level) equal or above the specified log level will be recorded in the respective destination (ie file, stdout, monitor). At start-up the value of default_log_level is set to debug. The log level for file destination is set to debug and the log level for stdout and monitor destinations is set to error. Facility Levels The value of facility level specifies what type of program is logging the message. Facility Level can take one of the following values: - authpriv
- daemon
- ftp
- kernel
- local0
- local1
- local2
- local3
- local4
- local5
- local6
- local7
- lpr
- mail
- news
- syslog
- user
- uucp
It is not recommended to modify the facility level. List of Daemons - bgpd
- dhcpd
- dhcrelay
- dvmrpd
- ipsec-pluto
- ipsec-spi
- isisd
- l2tpd
- ospf6d
- ospfd
- pimd-dm
- pimd-sm
- ripd
- ripngd
- zebra
|