logging fields seconds whole-digits [1 | 6 | all]

Prev Next

Specifies the number of digits to the left of the decimal point (truncation is from the left).

Syntax

[no] logging fields seconds whole-digits [1 | 6 | all]

Parameters

no

Use the no form of this command to disable the seconds field configuration.

Examples

The following example specifies 6 digits to the left of the decimal point in log files.

hostname (config) # logging fields seconds whole-digits 6

The following example removes the limit on the number of digits to the left of the decimal point in log files.

hostname (config) # logging fields seconds whole-digits all

User role

Admin

Command mode

Config