Log External - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

L
C
OGGING
OMMANDS

LOG EXTERNAL

log external
Overview
Use this command to enable external logging. External logging sends syslog
messages to a file on a USB storage device.
If the file does not already exist on the storage device, it (and any specified
subdirectory) will be automatically created. If the file already exists, messages are
appended to it.
Use the no variant of this command to disable external logging.
log external <filename>
Syntax
no log external
Default
External logging is disabled by default.
Mode
Global Configuration
Usage
We strongly recommend using ext3 or ext4 as the file system on the external
storage device. These file systems have a lower risk of file corruption occurring if
the switch or firewall loses power.
You should also unmount the storage device before removing it from the switch
or firewall, to avoid corrupting the log file. To unmount the device, use the
unmount command.
If you are using this on a VCStack, each stack member needs to have its own
external storage device. Enabling or disabling external logging enables or disables
it on all stack members.
Example
To save messages to a file called "messages.log" in a directory called "log" on a USB
storage device, use the command:
awplus#
awplus(config)#
Related
clear log external
Commands
default log external
log external (filter)
log external exclude
log external rotate
log external size
show log config
C613-50186-01 Rev B
Parameter
Description
<filename>
The file and optionally directory path to store the log messages in.
See
configure terminal
log external usb:/log/messages.log
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Introduction
on page 107 for valid syntax.
311

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents