Syslog Commands
logging console
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 422
30
The default facility is local7.
Command Mode
Global Configuration mode
User Guidelines
Up to 8 syslog servers can be used.
If no specific severity level is specified, the global values apply to each server.
Example
The following example limits logged messages sent to the syslog server with IP
add re ss 1 0.1.1.1 to s ev eri ty le vel critical.
Console(config)# logging 10.1.1.1 severity critical
logging console
The logging console Global Configuration mode command limits messages
logged to the console based on severity. Use the no form of this command to
disable logging to the console.
Syntax
logging console
level
no logging console
Parameters
level
— Specifies the severity level of logged messages displayed on the
console. The possible values are: emergencies, alerts, critical, errors,
warnings, notifications, informational, debugging.