2.6 Local And Remote Logging; Logging Local - Mellanox Technologies Mellanox SX1018 Command Reference Manual

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

Advertisement

2.6 Local and Remote Logging

logging local

Syntax Description
Default
Modes/Context
History
Role
Example
Related Commands
Note
logging local <log-level>
no logging local
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
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)
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
Mellanox Technologies
Rev 1.6.2
111

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents