Configuring Syslog Service
By default, syslog logging is enabled
and up to 4000 messages are retained in the local syslog buffer.
- Enter global configuration mode.
- Specify a syslog server.
- Change the message level the
system logs by disabling logging of specific message levels.You must disable the message levels on an individual basis. In the example, the system does not log debugging and informational messages.
- Change the number of messages
the local syslog buffer can hold by using the
logging bufferedcommand.device(config)# logging buffered 1000 device(config)# write memory device(config)# exit device# reload
- Change the log facility by using the
logging facilitycommand.In the example, the log facility is changed to local0. "User" is the default log facility for messages sent by the RUCKUS ICX device to the syslog server. You can specify only one facility. If you configure the RUCKUS ICX device to use two syslog servers, the device uses the same facility on both servers. - Display the interface names in syslog messages.
- Display the syslog configuration from privileged EXEC mode.
- Configure the device to save the syslog messages after a soft reboot.
- Clear the local syslog buffer from privileged EXEC mode.
The following example shows how to configure syslog messages where logging is disabled for debugging messages. Logging parameters are configured.
device(config)# configure terminal device(config)# logging host 10.0.0.99 device(config)# no logging buffered debugging device(config)# logging buffered 1000 device(config)# write memory device(config)# exit device# reload device(config)# logging facility local0 device(config)# ip show-portname device# show logging device(config)# logging persistence device# clear logging