User Manual User guide

Rockwell Automation Publication 1783-UM006A-EN-P - May 2014 553
Configuring System Message Logging Chapter 21
To disable timestamps for both debug and log messages, use the no
service timestamps
global configuration command.
This example shows part of a logging display with the
service
timestamps log datetime
global configuration command
enabled:
*Mar 1 18:46:11: %SYS-5-CONFIG_I: Configured from
console by vty2 (10.34.195.36)
This example shows part of a logging display with the service
timestamps log uptime
global configuration command enabled:
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1,
changed state to up
Enabling and Disabling Sequence Numbers in Log Messages
Because there is a chance that more than one log message can have the same
timestamp, you can display messages with sequence numbers so that you can
unambiguously refer to a single message. By default, sequence numbers in log
messages are not displayed.
Beginning in privileged EXEC mode, follow these steps to enable sequence
numbers in log messages:
1. Enter global configuration mode.
configure terminal
2. Enable sequence numbers.
service sequence-numbers
3. Return to privileged EXEC mode.
end
4. Verify your entries.
show running-config
5. (Optional) Save your entries in the configuration file.
copy running-config startup-config
To disable sequence numbers, use the no service sequence-
numbers
global configuration command.
This example shows part of a logging display with sequence numbers
enabled:
000019: %SYS-5-CONFIG_I: Configured from console by
vty2 (10.34.195.36)