Set log fullaction – Allied Telesis AT-S63 User Manual

Page 264

Advertising
background image

Chapter 16: Event Log and Syslog Server Commands

264

Section II: Advanced Operations

SET LOG FULLACTION

Syntax

set log fullaction [temporary=halt|wrap]
[permanent=halt|wrap]

Parameters

fullaction

Specifies what happens when the logs reach

maximum capacity. You can set the action separately
for events stored in temporary or permanent memory.
The possible actions are:

halt

The logs stop storing new events.

wrap

The logs delete the oldest entries as new
ones are added. This is the default.

Description

This command defines what the event logs do after they have stored the
maximum number of entries. The HALT option instructs the logs to stop
storing new entries. If an event log has already reached its maximum
capacity, it immediately stops entering new entries. The WRAP option
instructs the logs to delete the oldest entries as new entries are added.

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