summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-10-04 21:28:27 +0300
committerGitHub <noreply@github.com>2022-10-04 21:28:27 +0300
commitb023c47eab70a34664e8e1eeb97387a0ab57ff16 (patch)
tree876a8b046675b0b664f39490f9bb3b5b4b997258
parentd4e8e2767134e44e5e7990a5731c54be5c977fff (diff)
parent15d133c97e5700fd4e4e01602706799e6d439ff3 (diff)
Merge pull request #12058 from donaldsharp/fabricd_excessive_debugsbase_8.4
fabricd: Turn off excessive logging when peering will not come up
-rw-r--r--isisd/fabricd.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/isisd/fabricd.c b/isisd/fabricd.c
index a37cda1ce1..be035b623d 100644
--- a/isisd/fabricd.c
+++ b/isisd/fabricd.c
@@ -254,8 +254,10 @@ static void fabricd_initial_sync_timeout(struct thread *thread)
{
struct fabricd *f = THREAD_ARG(thread);
- zlog_info("OpenFabric: Initial synchronization on %s timed out!",
- f->initial_sync_circuit->interface->name);
+ if (IS_DEBUG_ADJ_PACKETS)
+ zlog_debug(
+ "OpenFabric: Initial synchronization on %s timed out!",
+ f->initial_sync_circuit->interface->name);
f->initial_sync_state = FABRICD_SYNC_PENDING;
f->initial_sync_circuit = NULL;
}
@@ -282,9 +284,11 @@ void fabricd_initial_sync_hello(struct isis_circuit *circuit)
timeout, &f->initial_sync_timeout);
f->initial_sync_start = monotime(NULL);
- zlog_info("OpenFabric: Started initial synchronization with %s on %s",
- sysid_print(circuit->u.p2p.neighbor->sysid),
- circuit->interface->name);
+ if (IS_DEBUG_ADJ_PACKETS)
+ zlog_debug(
+ "OpenFabric: Started initial synchronization with %s on %s",
+ sysid_print(circuit->u.p2p.neighbor->sysid),
+ circuit->interface->name);
}
bool fabricd_initial_sync_is_in_progress(struct isis_area *area)