Disabling logging of a message level, Changing the log facility – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 262

228
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
Configuring the Syslog service
Disabling logging of a message level
To change the message level, disable logging of specific message levels. You must disable the
message levels on an individual basis.
For example, to disable logging of debugging and informational messages, enter the following
commands.
TurboIron(config)#no logging buffered debugging
TurboIron(config)#no logging buffered informational
Syntax: [no] logging buffered
The
•
alerts
•
critical
•
debugging
•
emergencies
•
errors
•
informational
•
notifications
•
warnings
The commands in the example above change the log level to notification messages or higher. The
software will not log informational or debugging messages. The changed message level also
applies to the Syslog servers.
Changing the number of entries the local buffer can hold
You also can use the logging buffered command to change the number of entries the local Syslog
buffer can store. For example.
TurboIron(config)#logging buffered 100
TurboIron(config)#write mem
TurboIron(config)#exit
TurboIron#reload
Syntax: logging buffered
The default number of messages is 50.
Configuration notes
•
If you decrease the size of the buffer, the software clears the buffer before placing the change
into effect.
Changing the log facility
The Syslog daemon on the Syslog server uses a facility to determine where to log the messages
from the device. The default facility for messages the device sends to the Syslog server is “user”.
You can change the facility using the following command.