Configuring System Message Logging
To change the system message logging severity level setting for a logging facility, perform this task in
privileged mode:
Task
Step 1
Set the severity level for logging facilities.
Step 2
Verify the system message logging configuration. show logging [noalias]
This example shows how to set the logging severity level to 5 for all facilities (for the current session
only):
Console> (enable) set logging level all 5
All system logging facilities for this session set to severity 5(notifications)
Console> (enable)
This example shows how to set the default logging severity level to 3 for the cdp facility:
Console> (enable) set logging level cdp 3 default
System logging facility <cdp> set to severity 3(errors)
Console> (enable)
Changing the Logging Timestamp Enable State
To enable or disable the logging timestamp, perform this task in privileged mode:
Task
Step 1
Specify the logging timestamp enable state.
Step 2
Verify the logging timestamp enable state.
This example shows how to enable the timestamp display on system logging messages:
Console> (enable) set logging timestamp enable
System logging messages timestamp will be enabled.
Console> (enable)
Specifying the Logging Buffer Size
To specify the number of messages to log to the logging buffer, perform this task in privileged mode:
Task
Step 1
Set the number of messages to log to the logging
buffer.
Step 2
Verify the system message logging configuration. show logging [noalias]
This example shows how to set the logging buffer size to 200 messages:
Console> (enable) set logging buffer 200
System logging buffer size set to <200>
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
33-6
Chapter 33
Configuring System Message Logging
Command
set logging level {all | facility} severity [default]
Command
set logging timestamp {enable | disable}
show logging [noalias]
Command
set logging buffer buffer_size
78-12647-02