System Management | 67
Synchronize Log Messages
You can configure a terminal line to hold all logs until all command inputs and outputs are complete so that
log printing does not interfere when you are performing management tasks. Log synchronization also
filters system messages for a specific line based on severity level and limits number of messages that are
printed at once.
Display the logging synchronous configuration using the
show config command from LINE mode.
Enable Timestamp on Syslog Messages
Syslog messages, by default, do not include a time/date stamp stating when the error or message was
created. To have FTOS include a timestamp with the syslog message:
Display your configuration using the command
show running-config logging from EXEC Privilege
mode, as shown in Figure 4-3.
Step Task Command Syntax Command Mode
1 Enter the LINE mode. Configure the
following parameters for the virtual
terminal lines:
• number range: zero (0) to 8.
• end-number range: 1 to 8.
You can configure multiple virtual
terminals at one time by entering a
number
followed by an end-number.
line {console 0 | vty number
[end-number] | aux 0}
CONFIGURATION
2
Set a level and the maximum number of
messages to be printed. The following
parameters are optional:
• level severity-level range: 0 to 7.
Default is 2. Use the all keyword to
include all messages.
• limit range: 20 to 300. Default is 20.
logging synchronous [level
severity-level | all] [limit]
LINE
Purpose Command Syntax Command Mode
Add timestamp to syslog messages. Specify
the following optional parameters:
• datetime: You can add the keyword
localtime to include the localtime, msec,
and show-timezone. If you do not add
the keyword localtime, the time is UTC.
• uptime. To view time since the last boot.
service timestamps [log | debug] [datetime
[
localtime] [msec] [show-timezone] |
uptime]
Default: uptime
CONFIGURATION