aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Erickson <gerickson@nuovations.com>2023-12-20 23:08:49 -0800
committerMarcel Holtmann <marcel@holtmann.org>2023-12-23 13:15:08 +0100
commit47c7b25076fe95561012dd6f746011b16a154349 (patch)
treecb73a1843b1e0a1a638156f59cd84c399dd1e5ad
parente635a35993a00f7972ce3fce85a94af2903a12ec (diff)
downloadconnman-47c7b25076fe95561012dd6f746011b16a154349.tar.gz
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'.
-rw-r--r--src/ipconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 5ec619fa7..c2d7d2bc0 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -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);