Set log fullaction – Allied Telesis AT-S63 User Manual

Page 250

Advertising
background image

Chapter 15: Event Log and Syslog Client Commands

250

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 of an event log when it has stored its
maximum number of entries. The HALT option instructs the log to stop
storing new entries. If the event log has already reached its maximum
capacity, it immediately stops entering new entries. The WRAP option
instructs the log to delete the oldest entries as new entries are added.

To view the current actions of the event logs, refer to “SHOW LOG
OUTPUT” on page 259.

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

Advertising