Hi, I am trying to disable “dhcp info debug” in syslog … i have a high hit rate mikrotik routerboard and the messages scroll constantly. I would like to disable this specific message from syslog but keep everything else.
system logging menu provides you with log management, you may disable/reconfigure topics that you do not need.
I’ll bump this..
Trying to remove only DHCP-info(assigned/deassigned etc)but can’t figure out how to set up system log for this. Wouldn’t mind turning off all “info”, but that will also disable log-rules in the firewall-filter so that’s out the window.
Any howto would be appreciated.
You can combine log topics. For example, “error,ospf” logs all OSPF errors. You can negate log topics. So if you add “!dhcp” to the existing “info” topic (making it “info,!dhcp”) that rule will match all info level logged message, but not those that also are for DHCP.
Use a “not dhcp” rule or redirect the dhcp messages to another logging target. One of the newbie router setup setup pages on the wiki contains an example of how to separate firewall logging from other stuff, which could easily be turned to dhcp. http://wiki.mikrotik.com/wiki/Securing_New_RouterOs_Router
For example this seems to match just the DHCP records:
/log print where topics="dhcp,info"
Ah my bad. Been treating it like firewall rules, thinking the top rules hits, then the second etc, so my default info-rule was still there spamming my logs..
Thanks!