In this chapter, the following examples are provided:
•
"Show Logging" on page 19-2
•
"Show Logging Buffered" on page 19-5
•
"Show Logging Traplogs" on page 19-7
•
"Show Logging Hosts" on page 19-8
•
"Log Port Configuration" on page 19-9
The Syslog feature:
•
Allows you to store system messages and/or errors
•
Can store to local files on the switch or a remote server running a syslog daemon
•
Method of collecting message logs from many systems
Persistent Log Files
•
Currently three - one for each of the last three sessions
•
Each log has two parts:
•
Start up log is the first 32 messages after system startup
•
Operational log is the last 32 messages received after the startup log is full
•
Files are stored in ASCII format
•
slog0.txt - slog2.txt
•
olog0.txt - olog2.txt
Where 0 is for the boot, 1 is for the last boot, 2 is for the boot before that; the third one overflows
upon the next boot.
•
Can be saved to local server to monitor at a later point in time
The following illustration explains how to interpret log files.
<130>
JAN
01
00:00:06
Priority
Timestamp Stack
Figure 19-1
0.0.0.0-1
UNKN [0x800023]:
Component Thread
ID
name
ID
v1.0, November 2008
bootos.c(386)
4
%% Event (0xaaaaaaaa)
File
Line
name numb
Sequence
number
Chapter 19
Syslog
Message
19-1