Chapter 4
Using the CSS Logging Features
The options for the logging to-disk command are as follows:
•
•
You are prompted to reboot the CSS after issuing the logging to-disk disable or
logging to-disk enable commands for the command to take effect.
You can continue sending CSS log information to the sys.log file at an alternate
Note
location. To send log information to an alternate location, use either the logging
host command to send log information to a syslog daemon on a host system (see
the
command to send (but not save) log information to an active CSS line (see the
"Specifying a Line for a Log File Destination"
To disable logging to the CSS sys.log file on the CSS disk (Flash disk or hard
disk), enter:
(config)# logging to-disk disable
To resume logging back to the CSS disk, enter:
(config)# logging to-disk enable
OL-5647-02
logging to-disk disable - Disables writing default log information to the CSS
sys.log file on the CSS disk. The logging to-disk disable command affects
the sys.log file only, and does not affect a disk log file specified through the
logging disk command. You can still use the logging disk filename command
to send log information to a specific filename on the CSS disk. To disable all
logging to the CSS disk, first enter the no logging disk command and then
enter the logging to-disk disable command. When you enter the no logging
disk command, the CSS does not reenable logging to the sys.log file. You
must specify the logging to-disk enable command to reactivate the sys.log
file.
logging to-disk enable - Resets logging back to disk and resumes writing
default log information to the CSS sys.log file.
"Specifying a Host for a Log File Destination"
section).
Cisco Content Services Switch Administration Guide
Specifying a Log File Destination
section) or the logging line
4-15