The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

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