Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

logging log-file

禁用、启用或设置记录到日志文件的最低严重性级别。

语法
logging log-file {disable | enable | severity}
参数
severity — 设置最低日志记录严重性级别:
  • log-emerg — 将系统设置为不可用。
  • log-alert — 需要设置为立即操作。
  • log-crit — 设置为“严重条件”。
  • log-err — 设置为“错误条件”。
  • log-warning — 设置为“警告条件”。
  • log-notice — 设置为“正常”,但“重要”条件为默认值。
  • log-info — 设置为通知消息。
  • log-debug — 设置为调试消息。
默认
Log-notice
命令模式
CONFIGURATION
使用情况信息

要将日志文件严重性重置为默认级别,请使用 no logging log-file severity 命令。默认严重性级别为 log-notice

从版本 10.4.0E(R3S) 开始,在全交换模式下的 MX9116n 和 MX5108n 交换机上受支持。从版本 10.5.0.1 开始,在 SmartFabric 模式下也受支持。

示例
OS10(config)# logging log-file disable
示例(启用)
OS10(config)# logging log-file enable
示例(严重性)
OS10(config)# logging log-file severity log-notice
支持的版本
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: <>()\