ipconfig: Demote RTNL RTM_{ADD,DEL}ROUTE logs from info to DBG.
PATCH 1/1 ipconfig: Demote RTNL RTM_{ADD,DEL}ROUTE logs from info to DBG.
With the "continuous" online check mode, logs can become dominated by Linux Routing Netlink (rtnl) 'RTM_{ADD,DEL}ROUTE' entries every time WISPr adds/deletes a host route for the online check.
This demotes those log invocations from 'connman_info' to 'DBG'.
--- src/ipconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
src/ipconfig.c +2 -2
@@ -1102,7 +1102,7 @@ void __connman_ipconfig_newroute(int index, int family, unsigned char scope, } } -connman_info ("%s {add} route %s/%u gw %s scope %u <%s> table %u <%s> " +DBG ("%s {add} route %s/%u gw %s scope %u <%s> table %u <%s> " "metric %u" , ifname, dst, dst_prefixlen, gateway, scope,scope2str (scope), table_id,__connman_inet_table2string (table_id), metric);
@@ -1174,7 +1174,7 @@ void __connman_ipconfig_delroute(int index, int family, unsigned char scope, } } -connman_info ("%s {del} route %s/%u gw %s scope %u <%s> table %u <%s> " +DBG ("%s {del} route %s/%u gw %s scope %u <%s> table %u <%s> " "metric %u" , ifname, dst, dst_prefixlen, gateway, scope,scope2str (scope), table_id,__connman_inet_table2string (table_id), metric);
Signature · 1 line
2.42.0
Hi Grant,
Quoted 8 lines
With the "continuous" online check mode, logs can become dominated by Linux Routing Netlink (rtnl) 'RTM_{ADD,DEL}ROUTE' entries every time WISPr adds/deletes a host route for the online check.
This demotes those log invocations from '
connman_info' to 'DBG'.
---src/ipconfig.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied.
Regards
Marcel