beautypg.com

3 actions, 4 log messages – Allied Telesis AT-WR4500 User Manual

Page 256

background image

256

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

RouterOS v3 Configuration and User Guide

12.1.3

Actions

Submenu level: /system logging action

Property Description

disk-lines (integer; default: 100) - number of records in log file saved on the disk (only if action target is
set to disk)
disk-stop-on-full (yes | no; default: no) - whether to stop to save log messages on disk after the
specified disk-lines number is reached
email-to (name) - email address logs are sent to (only if action target is set to email)
memory-lines (integer; default: 100) - number of records in local memory buffer (only if action target is
set to memory)
memory-stop-on-full (yes | no; default: no) - whether to stop to save log messages in local buffer after
the specified memory-lines number is reached
name (name) - name of an action
remember (yes | no; default: yes) - whether to keep log messages, which have not yet been displayed in
console (only if action target is set to echo)
remote (IP address:port ; default: 0.0.0.0:514) - remote logging server's IP address and UDP port (only if
action target is set to remote)
target (disk | echo | email | memory | remote; default: memory) - log storage facility or target
disk - logs are saved to the hard drive
echo - logs are displayed on the console screen
email - logs are sent by email
memory - logs are saved to the local memory buffer
remote - logs are sent to a remote host

You cannot delete or rename default actions.

Example

To add a new action with name short, that will save logs in local buffer, if number of records in buffer are
less than 50:

[admin@AT-WR4562] system logging action> add name=short \
\... target=memory memory-lines=50 memory-stop-on-full=yes
[admin@AT-WR4562] system logging action> print
# FACILITY LOCAL REMOTE PREFIX REMOTE-ADDRESS REMOTE-PORT ECHO
Flags: * - default
# NAME TARGET REMOTE
0 * memory memory
1 * disk disk
2 * echo echo
3 * remote remote 0.0.0.0:514
4 short memory
[admin@AT-WR4562] system logging action>

12.1.4

Log Messages

Submenu level: /log

Description

Displays locally stored log messages

Property Description

message (read-only: text) - message text
time (read-only: text) - date and time of the event
topics (read-only: text) - topic list the message belongs to

This manual is related to the following products: