diff options
| author | lynne <lynne@voltanet.io> | 2021-06-11 09:53:23 -0400 |
|---|---|---|
| committer | lynne <lynne@voltanet.io> | 2021-06-14 15:46:49 -0400 |
| commit | 1b1f7b4f1540a276e4ec6fda3e08c78a9ca5982c (patch) | |
| tree | 9449a60b65d89e5cebe50fbb1c2e771e2fd2e780 /ospf6d/ospf6_flood.c | |
| parent | 352cc841d897eb343f12d7f85c7f346ab3c29beb (diff) | |
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 <lynne@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_flood.c')
| -rw-r--r-- | ospf6d/ospf6_flood.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ospf6d/ospf6_flood.c b/ospf6d/ospf6_flood.c index ac16e53d63..bb871e255d 100644 --- a/ospf6d/ospf6_flood.c +++ b/ospf6d/ospf6_flood.c @@ -974,11 +974,12 @@ void ospf6_receive_lsa(struct ospf6_neighbor *from, /* if no database copy, should go above state (5) */ assert(old); - if (is_debug) { - zlog_debug( - "Received is not newer, on the neighbor's request-list"); - zlog_debug("BadLSReq, discard the received LSA"); - } + zlog_warn( + "Received is not newer, on the neighbor %s request-list", + from->name); + zlog_warn( + "BadLSReq, discard the received LSA lsa %s send badLSReq", + new->name); /* BadLSReq */ thread_add_event(master, bad_lsreq, from, 0, NULL); |
