diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c index 3392b764b0d0..cd726b5f93fc 100644 --- a/lib/mgmt_be_client.c +++ b/lib/mgmt_be_client.c @@ -119,7 +119,10 @@ struct mgmt_be_client { #define FOREACH_BE_TXN_IN_LIST(client_ctx, txn) \ frr_each_safe (mgmt_be_txns, &(client_ctx)->txn_head, (txn)) -struct debug mgmt_dbg_be_client = {0, "Management backend client operations"}; +struct debug mgmt_dbg_be_client = { + .flags = DEBUG_MODE_ALL, + .desc = "Management frontend client operations" +}; const char *mgmt_be_client_names[MGMTD_BE_CLIENT_ID_MAX + 1] = { #ifdef HAVE_STATICD diff --git a/lib/mgmt_fe_client.c b/lib/mgmt_fe_client.c index d7fe34547a28..1d09199715f9 100644 --- a/lib/mgmt_fe_client.c +++ b/lib/mgmt_fe_client.c @@ -48,7 +48,9 @@ struct mgmt_fe_client { #define FOREACH_SESSION_IN_LIST(client, session) \ frr_each_safe (mgmt_sessions, &(client)->sessions, (session)) -struct debug mgmt_dbg_fe_client = {0, "Management frontend client operations"}; +struct debug mgmt_dbg_fe_client = { + .flags = DEBUG_MODE_ALL, + .desc = "Management frontend client operations"}; static inline const char *dsid2name(Mgmtd__DatastoreId id) diff --git a/mgmtd/mgmt.c b/mgmtd/mgmt.c index 77c4473e49f1..36a5712a7be8 100644 --- a/mgmtd/mgmt.c +++ b/mgmtd/mgmt.c @@ -15,10 +15,14 @@ #include "mgmtd/mgmt_history.h" #include "mgmtd/mgmt_memory.h" -struct debug mgmt_debug_be = {.desc = "Management backend adapater"}; -struct debug mgmt_debug_ds = {.desc = "Management datastore"}; -struct debug mgmt_debug_fe = {.desc = "Management frontend adapater"}; -struct debug mgmt_debug_txn = {.desc = "Management transaction"}; +struct debug mgmt_debug_be = {.flags = DEBUG_MODE_ALL, + .desc = "Management backend adapater"}; +struct debug mgmt_debug_ds = {.flags = DEBUG_MODE_ALL, + .desc = "Management datastore"}; +struct debug mgmt_debug_fe = {.flags = DEBUG_MODE_ALL, + .desc = "Management frontend adapater"}; +struct debug mgmt_debug_txn = {.flags = DEBUG_MODE_ALL, + .desc = "Management transaction"}; /* MGMTD process wide configuration. */ static struct mgmt_master mgmt_master;