Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
111
2.6 Local and Remote Logging
Sets the minimum severity of log messages to be saved in log files on local persistent
storage.
The no form disables the ability to log messages locally and remotely.
log-level
alert - alert notification, action must be taken immediately
crit - critical condition
debug - debug level messages
emerg - system is unusable (emergency)
err - error condition
info - informational condition
none - disables the logging locally and remotely
notice - normal, but significant condition
warning - warning condition
info
Config
3.1.0000
admin
switch (config) # logging local info
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: disabled
Levels at which messages are logged:
CLI commands: notice
Audit messages: notice
switch (config) #
show logging
logging local override
The commands “logging local none” and “no logging local” have the same effect.
Disabling the logging messages will disable all logging:
Local logging
Logging messages sent from hosts to be logged in the system
Remote logging (syslog)
logging local
logging local <log-level>
no logging local
Syntax Description
Default
Modes/Context
History
Role
Example
Related Commands
Note