2-143
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
logging file
logging file
To set logging file parameters, use the logging file command in global configuration mode. To return to
the default setting, use the no form of this command.
logging file filesystem:filename [max-file-size [min-file-size]] [severity-level-number | type]
no logging file filesystem:filename [severity-level-number | type]
Syntax Description
Defaults The minimum file size is 2048 bytes; the maximum file size is 4096 bytes.
The default severity level is 7 (debugging messages and numerically lower levels).
Command Modes Global configuration
Command History
filesystem:filename Alias for a flash file system. Contains the path and name of the file that
contains the log messages.
The syntax for the local flash file system:
flash:
max-file-size (Optional) Specifies the maximum logging file size. The range is 4096 to
2147483647.
min-file-size (Optional) Specifies the minimum logging file size. The range is 1024 to
2147483647.
severity-level-number (Optional) Specifies the logging severity level. The range is 0 to 7. See the
type option for the meaning of each level.
type (Optional) Specifies the logging type. These keywords are valid:
• emergencies—System is unusable (severity 0).
• alerts—Immediate action needed (severity 1).
• critical—Critical conditions (severity 2).
• errors—Error conditions (severity 3).
• warnings—Warning conditions (severity 4).
• notifications—Normal but significant messages (severity 5).
• information—Information messages (severity 6).
• debugging—Debugging messages (severity 7).
Release Modification
12.2(52)EY This command was introduced.