Set log fullaction – Allied Telesis AT-S63 User Manual
Page 296
Chapter 16: Event Log and Syslog Client Commands
296
Section II: Advanced Operations
SET LOG FULLACTION
Syntax
set log fullaction [temporary=halt|wrap]
[permanent=halt|wrap]
Parameters
fullaction
Specifies what happens when a log reaches
maximum capacity. You can set the action separately
for each log. The possible actions are:
halt
The log stops storing new events.
wrap
The log deletes the oldest entries as new
ones are added. This is the default.
Description
This command defines the action that an event log takes after it reaches
its maximum number of entries. The HALT option instructs a log to stop
storing new entries when it reaches its maximum capacity. The WRAP
option instructs a log to delete the oldest entries as it adds new entries.
To view the current actions of the event logs, refer to “SHOW LOG
OUTPUT” on page 305.
Example
The following command configures the event log in permanent memory to
stop storing new entries after it has stored the maximum number of
allowed entries:
set log fullaction permanent=halt