logging buffered
Enables logging of specific messages or changes the number of entries that the local syslog buffer can store.
Syntax
Command Default
The number of entries that the local syslog buffer can store is 50.
Parameters
- level
- Specifies the message level. The level parameter can have one of the following values: alerts, critical, debugging, emergencies, errors, informational, notifications, warnings.
- num-entries
- Configures the number of entries that the local syslog buffer can store. The value can range from 1 through 1000.
Modes
Global configuration mode
Usage Guidelines
The software does not log informational or debugging messages.
To change the message level, disable logging of specific message levels. You must disable the message levels on an individual basis.
- You must save the configuration and reload the software to effect the change.
- If you decrease the size of the buffer, the software clears the buffer before effecting the change.
- If you increase the size of the syslog buffer, the software clears some of the older locally buffered syslog messages.
The no form of the command with the num-entries option resets the syslog buffer size to the default of 50 and with the level option disables logging of the specified message level.
Examples
The following example enables the logging of debugging messages.
device(config)# logging buffered debugging
The following example sets the number of entries that the local syslog buffer can store to 1000.
device(config)# logging buffered 1000