logged locally or remotely. Locally log files can be stored in memory (default; logs are lost on
reboot) or on hard drive (not enabled by default as is harmful for flash disks).
General Settings
Home menu level: /system logging
Property Description
topics ( info | critical | firewall | keepalive | packet | read | timer | write | ddns | hotspot | l2tp | ppp |
route | update | account | debug | ike | manager | pppoe | script | warning | async | dhcp | info |
notification | pptp | state | watchdog | bgp | error | ipsec | open | radius | system | web-proxy | calc |
event | isdn | ospf | raw | telephony | wireless ; default: info ) - specifies log group or log message
type
action ( disk | echo | memory | remote ; default: memory ) - specifies one of the system actions or
user specified action listed in /system logging action
prefix ( name ) - local log prefix
Example
To logg messages that are generated by firewall by saving them in local buffer
[admin@MikroTik] system logging> add topics=firewall action=memory
[admin@MikroTik] system logging> print
Flags: X - disabled, I - invalid
# TOPICS ACTION PREFIX
0 info memory
1 error memory
2 warning memory
3 critical echo
4 firewall memory
[admin@MikroTik] system logging>
Actions
Home menu level: /system logging action
Property Description
disk-lines ( integer ; default: 100 ) - Used when target is set to type disk. Specifies the number of
records in log file
disk-stop-on-full ( yes | no ; default: no ) - Used when target is set to type disk. Specifies whether
to stop to save log messages on disk after the specified disk-lines number is reached
email-to ( name ) - Used when target is set to type email, sets email address logs are sent to
memory-lines ( integer ; default: 100 ) - Used when target is set to type memory. Specifies the
number of records in local buffer.
memory-stop-on-full ( yes | no ; default: no ) - Used when target is set to type memory. Specifies
whether to stop to save log messages in local buffer after the specified memory-lines number is
reached
name ( name ) - name of an action
Page 412 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.