Clean LOG - Mikrotik RouterOS 3.20

How to clean the log? of this three ways.
Winbox
Webbox
Telnet

Thanks

Now my answer!

By default RouterOs has the following logging setup

/system logging print

TOPICS ACTION PREFIX

0 info memory
1 error memory
2 warning memory
3 critical echo

If da router suffers a power outage or random reboot you lose all log’s

yesss. change ‘memory’ to ‘disk’, if you want logs to be saved after reboot

If you want to clear log, you can do this.
/system logging action> set memory memory-lines=1
/system logging action> set memory memory-lines=100