ospfd: Lower level of some common messages from info to debug
* ospf_{ism,network}.c: Certain oft-repeated but trivial messages should be
debug log level, not info, to avoid spamming 'terminal monitor'
diff --git a/ospfd/ospf_ism.c b/ospfd/ospf_ism.c
index 1840283..3172587 100644
--- a/ospfd/ospf_ism.c
+++ b/ospfd/ospf_ism.c
@@ -221,8 +221,8 @@
new_state = ospf_ism_state (oi);
- zlog_info ("DR-Election[1st]: Backup %s", inet_ntoa (BDR (oi)));
- zlog_info ("DR-Election[1st]: DR %s", inet_ntoa (DR (oi)));
+ zlog_debug ("DR-Election[1st]: Backup %s", inet_ntoa (BDR (oi)));
+ zlog_debug ("DR-Election[1st]: DR %s", inet_ntoa (DR (oi)));
if (new_state != old_state &&
!(new_state == ISM_DROther && old_state < ISM_DROther))
@@ -232,8 +232,8 @@
new_state = ospf_ism_state (oi);
- zlog_info ("DR-Election[2nd]: Backup %s", inet_ntoa (BDR (oi)));
- zlog_info ("DR-Election[2nd]: DR %s", inet_ntoa (DR (oi)));
+ zlog_debug ("DR-Election[2nd]: Backup %s", inet_ntoa (BDR (oi)));
+ zlog_debug ("DR-Election[2nd]: DR %s", inet_ntoa (DR (oi)));
}
list_delete (el_list);
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 89ff203..1e2d44e 100644
--- a/ospfd/ospf_network.c
+++ b/ospfd/ospf_network.c
@@ -61,7 +61,7 @@
"on # of multicast group memberships has been exceeded?",
top->fd, inet_ntoa(p->u.prefix4), ifindex, safe_strerror(errno));
else
- zlog_info ("interface %s [%u] join AllSPFRouters Multicast group.",
+ zlog_debug ("interface %s [%u] join AllSPFRouters Multicast group.",
inet_ntoa (p->u.prefix4), ifindex);
return ret;
@@ -81,8 +81,8 @@
"ifindex %u, AllSPFRouters): %s",
top->fd, inet_ntoa(p->u.prefix4), ifindex, safe_strerror(errno));
else
- zlog_info ("interface %s [%u] leave AllSPFRouters Multicast group.",
- inet_ntoa (p->u.prefix4), ifindex);
+ zlog_debug ("interface %s [%u] leave AllSPFRouters Multicast group.",
+ inet_ntoa (p->u.prefix4), ifindex);
return ret;
}
@@ -103,8 +103,8 @@
"on # of multicast group memberships has been exceeded?",
top->fd, inet_ntoa(p->u.prefix4), ifindex, safe_strerror(errno));
else
- zlog_info ("interface %s [%u] join AllDRouters Multicast group.",
- inet_ntoa (p->u.prefix4), ifindex);
+ zlog_debug ("interface %s [%u] join AllDRouters Multicast group.",
+ inet_ntoa (p->u.prefix4), ifindex);
return ret;
}
@@ -123,8 +123,8 @@
"ifindex %u, AllDRouters): %s",
top->fd, inet_ntoa(p->u.prefix4), ifindex, safe_strerror(errno));
else
- zlog_info ("interface %s [%u] leave AllDRouters Multicast group.",
- inet_ntoa (p->u.prefix4), ifindex);
+ zlog_debug ("interface %s [%u] leave AllDRouters Multicast group.",
+ inet_ntoa (p->u.prefix4), ifindex);
return ret;
}