Today I was in a requirement to clear the Mikrotik LOG window and clear all the commands from the Terminal console history dueto some security and privacy reason. Since I couldn’t found a simple command base method to clear LOG window, I followed a workaround and it worked like a charm.
▼
CLEAR Mikrotik LOG WINDOW HISTORY [Jz]
/system logging action set memory memory-lines=1
It will delete all previous entries.
/system logging action set memory memory-lines=100
It will change it back to the default number of lines. or let it set to 1 , if you dont want any info, which is not recommended in any case
CLEAR Mikrotik TERMINAL CONSOLE HISTORY [Jz]
In newer version of mikrotik 6.x, you can clear console commands by using
console clear-history
Note: Sticking with newer firmware (but surely stable one) is always a Good idea so that you stay safe and secure with lots of new features
However I really wish that Mikrotik can add an “CLEAR ALL LOGS” button in the future
▼
Regard’s
Syed Jahanzaib
Filed under: Mikrotik Related
