You cannot delete lines from log.
What you could do (with some IMHO not-so-trifling scripting) would be (periodically, let's say once a day):
1) print the log "as is" to file
2) clear the log
3) modify the file removing the lines you want to exclude
Then - again periodically let's say once a week - delete the log files.
Or you could exclude from logging all "info" data (maybe too much), or the ones with interface topic, using the /system logging topics:
https://wiki.mikrotik.com/wiki/Manual:System/Log
but there isn't AFAIK some form of filtering based on content of the log entry.
What you could do (with some IMHO not-so-trifling scripting) would be (periodically, let's say once a day):
1) print the log "as is" to file
2) clear the log
3) modify the file removing the lines you want to exclude
Then - again periodically let's say once a week - delete the log files.
Or you could exclude from logging all "info" data (maybe too much), or the ones with interface topic, using the /system logging topics:
https://wiki.mikrotik.com/wiki/Manual:System/Log
but there isn't AFAIK some form of filtering based on content of the log entry.
Statistics: Posted by jaclaz — Sat Jan 20, 2024 2:32 pm