![MikroTik RouterOS v2.9 Reference Manual Download Page 427](http://html1.mh-extra.com/html/mikrotik/routeros-v2-9/routeros-v2-9_reference-manual_1794644427.webp)
remember ( yes | no ; default: yes ) - Used when target is set to type echo. Specifies whether to
keep log messages, which have not yet been displayed in console
remote ( IP address | port | IP address | integer : 0 ..65535 ; default: 0.0.0.0:514 ) - Used when
target is set to type remote. Remote log server's IP address and UDP port
target ( disk | echo | email | memory | remote ; default: memory ) - Specifies how to treat logs
• disk - logs are saved to hard drive
• echo - logs are displayed in console
• email - logs are sent by email
• memory - logs are saved to local buffer. They can be viewed using the '/log print' command
• remote - logs are sent to remote host
Notes
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@MikroTik] system logging action> add name=short \
\... target=memory memory-lines=50 memory-stop-on-full=yes
[admin@MikroTik] 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@MikroTik] system logging action>
Log Messages
Home menu level: /log
Description
Displays locally stored log messages
Property Description
message ( text ) - message text
time ( text ) - date and time of the event
Command Description
print - shows log messages
• buffer - prints log messages that were saved in specified local buffer
Page 413 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.