You can use the logging timestamps in your system logging to help you keep track of when events happen. To
enable the logging time stamp, use the following command in Privileged mode:
Catalyst5000> (enable) set logging timestamp enable
System logging messages timestamp will be enabled.
Catalyst5000> (enable)
Disabling the Logging Time Stamp on a Set/Clear
Command−Based Switch
To disable the logging time stamp, use the following command in Privileged mode:
Catalyst5000> (enable) set logging timestamp disable
System logging messages timestamp will be disabled.
Catalyst5000> (enable)
Configuring the Logging Buffer Size on a Set/Clear
Command−Based Switch
By default, the logging buffer will hold 1,024 messages in memory. If you do not want to keep this many in
memory, either to conserve memory or because they are not needed, use the set logging buffer command
followed by the net buffer size:
set logging buffer 2048
Clearing the Server Logging Table
To clear a syslog server table, use the clear logging server command followed by the server IP address:
Catalyst5000> (enable) clear logging server 63.78.39.164
System logging server 63.78.39.164 removed from system logging server table.
Catalyst5000> (enable)
Disabling Server Logging
The set logging server disable command disables system logging to all configured system logging servers:
Catalyst5000> (enable) set logging server disable
System logging messages will not be sent to the configured syslog servers.
Catalyst5000> (enable)
85