HP Mellanox SX1018 Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 119
logging fields
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 119 highlights
Rev 1.6.9 logging fields logging fields seconds {enable | fractional-digits | whole-digits } no logging fields seconds {enable | fractional-digits | whole-digits } 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 message that shows the number of seconds since the Epoch. Syntax Description enable Specifies whether to include an additional field in each log message that shows the number of seconds since the Epoch or not. f-digit 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. w-digit The whole-digits parameter controls the number of digits 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. Default disabled Configuration Mode 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 Override for class mgmt-front: warning 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: CLI commands: notice Audit messages: notice switch (config) # Mellanox Technologies 119 Mellanox® Technologies Confidential