Download Print this page

Log External Rotate - Allied Telesis IE340 Series Command Reference Manual

Industrial ethernet layer 3 switches
Hide thumbs Also See for IE340 Series:

Advertisement

L
C
OGGING
OMMANDS

LOG EXTERNAL ROTATE

log external rotate
Overview
Use this command to configure the number of files that the external log can rotate
through.
Use the no variant of this command to return to the default.
Syntax
log external rotate <0-255>
no log external rotate
Default
The default is 1, which rotates between the initial file and 1 additional file (for
example, rotates between messages.log and messages.log.1)
Mode
Global Configuration
Usage notes
The device rotates between the initial file and the number of additional files
specified by this command. For example, the diagram below shows how setting
rotate to 2 makes the device rotate through 3 files.
Note that if you set rotate to 0, and the external log file becomes full, then the
device deletes the full log file and creates a new (empty) file of the same name to
save messages into. For this reason, we recommend setting rotate to at least 1.
Example
To set the rotation value to 2, and therefore rotate between 3 files, use the
commands:
awplus#
awplus(config)#
Related
clear log external
commands
C613-50631-01 Rev A
Parameter
Description
<0-255>
The number of additional files to rotate through. Note that the
device rotates between the initial file and the number of
additional files specified by this value - see the Usage section
below.
Start of logging
First rotation
messages.log
messages.log
renamed to
messages.log.1
configure terminal
log external rotate 2
Command Reference for IE340 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
Second rotation
messages.log
messages.log.1
renamed to
messages.log.2
deleted
Subsequent rotation
messages.log
log
messages.log.1
external
size
messages.log.2
X
450

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Ie340-12gpIe340-12gtIe340-20gpIe340l-18gp