2-211
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
logging file
logging file
Use the logging file global configuration command to set logging file parameters. Use the no form of
this command to return to the default setting.
logging file flash:filename [max-file-size] [min-file-size] [severity-level-number | type]
no logging file flash: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
Usage Guidelines The log file is stored in ASCII text format. You can use the more privileged EXEC command to display
its contents.
The command rejects the minimum file size if it is greater than the maximum file size minus 1024; the
minimum file size then becomes the maximum file size minus 1024.
Specifying a level causes messages at that level and numerically lower levels to be displayed.
flash:filename The path and name of the file that contains the log messages.
max-file-size (Optional) Specify the maximum logging file size. The range is 4096 to
2147483647.
min-file-size (Optional) Specify the minimum logging file size. The range is 1024 to
2147483647.
severity-level-number (Optional) Specify the logging severity level. The range is 0 to 7. See the
type option for the meaning of each level.
type (Optional) Specify 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.1(4)EA1 This command was introduced.