Quick Reference Guide

System Logs | 101
6
System Logs
This chapter describes the system logging features, in these major sections:
Logging Commands on page 101
Configuring the System Log on page 102
Using the Persistent Event Log on page 105
Displaying the SNMP Trap Log on page 106
Configuring Syslog Server Host Connections on page 107
The S-Series switch maintains five logs:
System log: This log, also referred to as the buffered log, collects events down to the level of “critical”
(by default). The log is stored in RAM until it is lost at power off or reboot. Thus, as a best practice,
you should save these messages to a syslog server. The System log does not run by default, so you
must enable it, at which time you can also set the level of detail to collect. See Configuring the System
Log on page 102 and Displaying the System Log on page 103.
SFTOS logging history table: This table is another internal place to store system messages. Use the
logging history command to configure the log, and the show logging history command to display the
log.
Event log: This log, also referred to as the persistent log, collects exception messages and critical
boot-up messages. The log is enabled by default, stored in flash memory, and is not lost upon system
reboot or failover in a stack. SFTOS reserves 16 MB for the event log. See Using the Persistent Event
Log on page 105.
Trap log: This log collects SNMP traps. For details, see Displaying the SNMP Trap Log on page 106.
List of logging hosts: Use the command
show logging hosts. For details, see Configuring Syslog
Server Host Connections on page 107.
Logging Commands
The Syslog chapter in the SFTOS Command Reference provides a detailed command syntax for the system
log command set, which consists of the following commands:
logging buffered. See Configuring the System Log on page 102.
logging buffered wrap. See Configuring the System Log on page 102.
logging cli-command. See Configuring the System Log on page 102.
logging console. See Configuring the System Log on page 102.
logging facility. See Configuring Syslog Server Host Connections on page 107.
logging history. See Configuring the System Log on page 102.