beautypg.com

Disabling logging of a message level, Local buffer configuration notes, Changing the log facility – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 224: Disabling logging of a, Message level

background image

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.

device(config)#no logging buffered debugging

device(config)#no logging buffered informational

Syntax: [no] loggingbuffered level | num-entries

The level parameter can have one of the following values:

• 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.

device(config)#logging buffered 1000

device(config)#write memory

device(config)#exit

device#reload

Syntax:[no] logging buffered num

The default number of messages is 50. For FastIron devices, you can set the Syslog buffer limit from 1
- 1000 entries.

Local buffer configuration notes

• You must save the configuration and reload the software to place the change into effect.
• If you decrease the size of the buffer, the software clears the buffer before placing the change into

effect.

• If you increase the size of the Syslog buffer, the software will clear some of the older locally

buffered Syslog messages.

Changing the log facility

The Syslog daemon on the Syslog server uses a facility to determine where to log the messages from
the Brocade device. The default facility for messages the Brocade device sends to the Syslog server is
"user". You can change the facility using the following command.

Disabling logging of a message level

224

FastIron Ethernet Switch Administration Guide

53-1003075-02