Specifying a Log File Destination
Specifying a Log File on the Disk
Caution
Disabling Logging to the sys.log File on the Disk
Cisco Content Services Switch Administration Guide
4-14
To send log information to a specific file on the CSS disk, use the logging disk
command. Specify a log filename. Enter a text string from 0 to 32 characters. The
filename can be new or an existing name.
For example:
(config)# logging disk stubs
When you specify the logging disk command, the CSS:
Stops writing default log information to the sys.log file
•
Creates the filename you specify in the disk log directory
•
Sends subsystem and level information to the log file specified
•
You can have only one active log file on the disk at a time. If you wish to send
subsystem information to a different log file on the disk, reenter the logging disk
command with a different filename.
Logging to a CSS disk causes the performance of the CSS to degrade.
To stop logging to the specified file and reenable logging to the sys.log file on the
CSS, enter:
(config)# no logging disk
Disabling logging to the sys.log file is useful when you want to prevent excessive
writes to the CSS disk (for example, to the Flash disk) or to increase the
performance of the CSS. Use the logging to-disk command to disable logging to
the sys.log file on the CSS disk (hard or Flash).
Chapter 4
Using the CSS Logging Features
OL-5647-02