API Guide
Logging commands
clear logging
Clears messages in the logging buffer.
Syntax
clear logging log-file
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
Example
OS10# clear logging log-file
Proceed to clear the log file [confirm yes/no(default)]:
Supported
Releases
10.2.0E or later
logging console
Disables, enables, or configures the minimum severity level for logging to the console.
Syntax
logging console {disable | enable | severity}
Parameters severity—Set the minimum logging severity level:
● log-emerg—Set to unusable.
● log-alert—Set to immediate action is needed.
● log-crit—Set to critical conditions.
● log-err—Set to error conditions.
● log-warning—Set to warning conditions.
● log-notice—Set to normal but significant conditions, the default.
● log-info—Set to informational messages.
● log-debug—Set to debug messages.
Default Log-notice
Command Mode CONFIGURATION
Usage
Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
To set the severity to the default level, use the no logging console severity command. The
default severity level is log-notice.
Example
OS10(config)# logging console disable
Example (Enable)
OS10(config)# logging console enable
Example
(Severity)
OS10(config)# logging console severity log-warning
Supported
Releases
10.2.0E or later
Troubleshoot Dell EMC SmartFabric OS10 1447