Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
117
logging format
logging format {standard | welf [fw-name <hostname>]}
no logging format {standard | welf [fw-name <hostname>]}
Sets the format of the logging messages.
The no form of the command resets the format to its default.
Syntax Description standard Standard format.
welf WebTrends Enhanced Log file (WELF) format.
hostname Specifies the firewall hostname that should be associ-
ated with each message logged in WELF format. If no
firewall name is set, the hostname is used by default.
Default standard
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # logging format standard
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: yes
Number of archived log files to keep: 10
Log rotation size threshold: 5.000% of partition (43 megabytes)
Log format: standard
Subsecond timestamp field: disabled
Levels at which messages are logged:
CLI commands: notice
Audit messages: notice
switch (config) #
Related Commands show logging
Note