logging fields seconds enable

Prev Next

Includes an additional field in log messages that shows the number of seconds since the epoch with sub-second precision.

Syntax

[no] logging fields seconds enable

Parameters

no

The no form of this commands disables the seconds field in log files.

Example

The following example enables the seconds field in log files.

hostname (config) # logging fields seconds enable

User role

Admin

Command mode

Config