From 1b1f7b4f1540a276e4ec6fda3e08c78a9ca5982c Mon Sep 17 00:00:00 2001 From: lynne Date: Fri, 11 Jun 2021 09:53:23 -0400 Subject: ospf6d: move error logs out from behind debug flags The logging in ospf6 is very verbose. If you turn on logging on a scaled system you get too many logs. The problem is that there are some errors that occur that are hidden behind the debug flags, and to see these errors we currently need to turn on the debug logging. This change converts these error logs to warnings and removes the debug flags. Signed-off-by: Lynne Morrison --- ospf6d/ospf6_intra.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ospf6d/ospf6_intra.c') diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index bf7c59b9e7..c971c6180e 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -289,9 +289,8 @@ int ospf6_router_lsa_originate(struct thread *thread) if ((caddr_t)lsdesc == (caddr_t)router_lsa + sizeof(struct ospf6_router_lsa)) { - if (IS_OSPF6_DEBUG_ORIGINATE(ROUTER)) - zlog_debug( - "Size limit setting for Router-LSA too short"); + zlog_warn( + "Size limit setting for Router-LSA too short"); return 0; } -- cgit v1.2.3