Chapter 17: Event Log and Syslog Server Commands
274
SET LOG FULLACTION
Syntax
set log fullaction temporary=halt|wrap
Parameter
temporary Specifies the action of the event log when it reaches
maximum capacity. The possible actions are:
halt Stops storing new events.
wrap Deletes the oldest entries when adding
new ones. This is the default.
Description
This command controls the action of the event log when it reaches its
maximum capacity of 4,000 events. You have two options. The first has
the switch delete the oldest entries as it adds new entries to the log. The
second has the switch stop adding new entries, so as to preserve the
existing log contents.
The HALT option instructs the logs to stop storing new entries. If an
event log has already reached maximum capacity, it immediately stops
entering new entries.
The WRAP option instructs the logs to delete the oldest entries as new
entries are added.
Note
A switch whose event log has reached maximum capacity continues
to send events to syslog servers.
Example
The following command configures the event log to stop storing new
events after it has stored its maximum number of entries:
set log fullaction temporary=halt