Enabling And Disabling Timestamps On Log Messages - Allen-Bradley Stratix 5100 User Manual

Wireless access point/workgroup bridge
Hide thumbs Also See for Stratix 5100:
Table of Contents

Advertisement

Chapter 21
Configuring System Message Logging
552
The
logging buffered
messages to an internal buffer. The buffer is circular, so newer messages
overwrite older messages after the buffer is full.
• To display the messages that are logged in the buffer, use the
privileged EXEC command. The first message displayed is the
logging
oldest message in the buffer.
• To clear the contents of the buffer, use the
EXEC command.
• To disable logging to the console, use the
configuration command.
• To disable logging to a file, use the
level-number | type]

Enabling and Disabling Timestamps on Log Messages

By default, log messages are not timestamped.
Beginning in privileged EXEC mode, follow these steps to enable
timestamping of log messages:
1. Enter global configuration mode.
configure terminal
2. Enable log timestamps.
The first command enables timestamps on log messages, showing the time
since the system was restarted.
The second command enables timestamps on log messages. Depending on
the options selected, the timestamp can include the date, time in
milliseconds relative to the local time zone, and the time zone name.
service timestamps log uptime
or
service timestamps log datetime [msec] [localtime]
[show-timezone]
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
Rockwell Automation Publication 1783-UM006A-EN-P - May 2014
global configuration command copies logging
clear logging
no logging console
no logging file [severity-
global configuration command.
show
privileged
global

Advertisement

Table of Contents
loading

This manual is also suitable for:

1783-wapak91783-wapek91783-wapck91783-wapzk9

Table of Contents