4-14
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 4 Utilities
Managing Syslog
Options
The following options are available:
•
rate
—Number of messages to be logged per second (1 to 10000).
–
default = 10
•
severity-level
—Excludes messages of this severity level and higher. Severity levels supported on
the Cisco SCE platform are as follows:
–
fatal
–
error
–
warning
–
info
How to Configure the Syslog Rate Limit
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
logging rate-limit
rate
[except
severity-level
]
and press
Enter
.
How to Restore the Default Syslog Rate Limit
Step 1
From the SCE# prompt, type
configure
and press
Enter
.
Step 2
From the SCE (config)# prompt, type
no logging rate-limit
and press
Enter
.
Configuring the Syslog Time Stamp Format
You can configure the format of the the time stamp on the messages on the Syslog server. You can use
the
no
form of this command to specify the default Syslog time stamp format (uptime).
Options
The following time stamp format options are available:
•
uptime
(default
)
—Time stamp shows time since the system was last rebooted. For example "4w6d"
(time since last reboot is 4 weeks and 6 days).
•
datetime
—Time stamp shows date and time.
The following additional options are available for the
datetime option:
–
msec—
Include milliseconds in the date-time format.
–
localtime—
Time stamp relative to the local time zone.
–
show-timezone—
Include the time zone name in the date-time format.
–
year—
Include the year in the date-time format.
If the
datetime
keyword
is used without additional keywords, time stamps will be shown using
UTC, without the year, without milliseconds, and without a time zone name.