Logging Fields - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

logging fields

logging fields seconds {enable | fractional-digits <f-digit> | whole-digits <w-
digit>}
no logging fields seconds {enable | fractional-digits <f-digit> | whole-digits <w-
digit>}
Specifies whether to include an additional field in each log message that shows the
number of seconds since the Epoch or not.
The no form of the command disallows including an additional field in each log mes-
sage that shows the number of seconds since the Epoch.
Syntax Description
enable
f-digit
w-digit
Default
disabled
Modes/Context
Config
History
3.1.0000
Role
admin
Example
switch (config) # logging fields seconds enable
switch (config) # logging fields seconds whole-digits 1
switch (config) # show logging
Local logging level: info
Default remote logging level: notice
No remote syslog servers configured.
Allow receiving of messages from remote hosts: no
Number of archived log files to keep: 10
Log rotation size threshold: 5.000% of partition (43 megabytes)
Log format: standard
Subsecond timestamp field: enabled
Subsecond timestamp precision: 1 whole digit; 3 fractional digits
Levels at which messages are logged:
switch (config) #
Override for class mgmt-front: warning
CLI commands: notice
Audit messages: notice
Specifies whether to include an additional field in each
log message that shows the number of seconds since
the Epoch or not.
The fractional-digits parameter controls the number of
digits to the right of the decimal point. Truncation is
done from the right.
Possible values are: 1, 2, 3, or 6.
The whole-digits parameter controls the number of dig-
its to the left of the decimal point. Truncation is done
from the left. Except for the year, all of these digits are
redundant with syslog's own date and time.
Possible values: 1, 6, or all.
Mellanox Technologies
Rev 1.6.2
118

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents