OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

logging log-file

Disables, enables, or sets the minimum severity level for logging to the logfile.

Syntax
logging log-file {disable | enable | severity}

To reset the log-file severity to the default level, use the no logging log-file severity command. The default severity level is log-notice.

Parameters
severity — Set the minimum logging severity level:
  • log-emerg — Set the system as 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 (default).
  • log-info — Set to informational messages.
  • log-debug — Set to debug messages.
Default
Log-notice
Command Mode
CONFIGURATION
Usage Information
None
Example
OS10(config)# logging log-file disable
Example (Enable)
OS10(config)# logging log-file enable
Example (Severity)
OS10(config)# logging log-file severity log-notice
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\