Updated hAP ac2 (RBD52G-5HacD2HnD) from version 7.12.1 to 7.16.2
There are a lot of unnecessary entries in the Log. I can’t turn off the excess.

Updated hAP ac2 (RBD52G-5HacD2HnD) from version 7.12.1 to 7.16.2
There are a lot of unnecessary entries in the Log. I can’t turn off the excess.

The “!dns !package” log rule will mean “debug” (or anything NOT dns and NOT package - which is a log. In general, the “double negative” rules really make it difficult to predict what will happen since it’s essentially “everything else”… So may be more OTHER entries beyond “!dns !package” that’s including a lot of extra entries.
Yeah that rule makes no sense. You have turned on ALL POSSIBLE LOGS from all functions, except DNS and package installs ![]()
What is correct then?
Depends: what is “correct”? What kind of logging are you expecting?
!dns
Don’t use !
![]()
! means “everything except DNS”
Please change the title like “I do not understand correctly how set the logs”, is not a RouterOS problem.
Now I’m writing you what the others who answered did NOT deduce from your screenshot…
@K0NCTANT1N You completely got it all wrong.
!ntp also logs literally everything, except ntp… so it logs ALSO dns,packet …
It’s not a firewall that as you add rules to block something, so it doesn’t appear… each rule ADDS something to the logs.
First of all delete all the mess you made by pasting this in the terminal (reset all logs to defaults, but not the actions submenu):
/system logging
set 0 action=memory disabled=no prefix="" topics=info
set 1 action=memory disabled=no prefix="" topics=error
set 2 action=memory disabled=no prefix="" topics=warning
set 3 action=echo disabled=no prefix="" topics=critical
remove [find where default=no]
After that, what you exactly want log that is not already logged by defaults rules?
Add a rule for that, for eample for log NTP(*) add ntp,!debug (remember to avoid everytime debug on new rules, if is not relally needed)
(is not needed to add !debug on default rules. Debug is never used with critical/error/warning/info)
What you exactly want NOT log that is already logged by defaults rules?
MODIFY default rule for that. For example for avoid useless DHCP warning, add !dhcp on default warning rule.
And so on…
(*) NTP not already logged by critical/error/warning/info, for avoid duplicates, add on new ntp,!debug rule also !critical !error !warning !info that are already logged by default rules.
How can I remove unnecessary (garbage) from the log?
Don’t check the boxes in each of those logs in System>Logging for “dns”, “wireguard”, “ntp”, “dhcp”. You DO want the checkbox enabled for “!debug”, “!packet”, “!raw” things, under the “Topics”.
Like topics=wireguard,**!**debug
(while from your screenshot you have something like topics=**!wireguard,!**debug
If that does not make sense, can you do a “/system/logging export” cut-and-paste from Terminal, and post that here?
You have done what I wrote on post #8?
http://forum.mikrotik.com/t/log-a-lot-of-logs/181330/1
Yes
what yo do not want log anymore?
(screenshot is better to not omit details)