Command Reference
 

Event Logging Glossary

Okapi > Event Logging Glossary

 

Destinations Supported

There are three destinations supported for logging; namely file, stdout and monitor.
  1. 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.

 

  1. Stdout: This refers to /dev/console. Log level for this can be changed through CLI.

 

  1. 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):
  1. emergency
  2. alert
  3. critical
  4. error
  5. warning
  6. notice
  7. information
  8. 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:
  1. authpriv
  2. daemon
  3. ftp
  4. kernel
  5. local0
  6. local1
  7. local2
  8. local3
  9. local4
  10. local5
  11. local6
  12. local7
  13. lpr
  14. mail
  15. news
  16. syslog
  17. user
  18. uucp

It is not recommended to modify the facility level.

 

List of Daemons

  1. bgpd
  2. dhcpd
  3. dhcrelay
  4. dvmrpd
  5. ipsec-pluto
  6. ipsec-spi
  7. isisd
  8. l2tpd
  9. ospf6d
  10. ospfd
  11. pimd-dm
  12. pimd-sm
  13. ripd
  14. ripngd
  15. zebra