Chapter 4
Using the CSS Logging Features
Specifying a Line for a Log File Destination
OL-5647-02
For example, to send log information to a host at IP address 192.168.11.1 with a
facility level of 3 and a log-level of error-3:
(config)# logging host 192.168.11.1 facility 3 log-level error-3
To turn off logging to a host, enter:
(config)# no logging host
To send log information to an active CSS session, use the logging line command
and specify a valid log line on the CSS. Enter the line as a case-sensitive text
string with a maximum of 32 characters.
The CSS continues to send log information to the sys.log file on the CSS disk
(hard or Flash disk) even when the logging line command is entered. To disable
logging to the sys.log file on the CSS disk, use the logging to-disk disable
command (see the
"Disabling Logging to the sys.log File on the Disk"
To display a list of active CSS lines, enter the logging line command as shown.
The asterisk (*) denotes your current session.
(config)# logging line ?
console
Login Name:
*vty1
Login Name:
To send subsystem information to your monitor, enter:
(config)# logging line vty1
To turn off logging, enter the no logging line command.
(config)# no logging line vty1
Location:local
admin Location:10.0.3.35
Cisco Content Services Switch Administration Guide
Specifying a Log File Destination
section).
4-17