laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/33288 )
Change subject: Add ASCI (advanced speech call items) log sub-system ......................................................................
Add ASCI (advanced speech call items) log sub-system
As we subsequently add ASCI related features to the code, it makes sense to have a specific log sub-system for it.
Change-Id: I8ea3e61df35175bd74110b2f41994c99da3e2858 Related: OS#4851 --- M include/osmo-bts/logging.h M src/common/logging.c 2 files changed, 21 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/include/osmo-bts/logging.h b/include/osmo-bts/logging.h index cf46352..ce08e47 100644 --- a/include/osmo-bts/logging.h +++ b/include/osmo-bts/logging.h @@ -21,6 +21,7 @@ DABIS, DRTP, DOSMUX, + DASCI, };
extern const struct log_info bts_log_info; diff --git a/src/common/logging.c b/src/common/logging.c index 9335d93..cee4ff6 100644 --- a/src/common/logging.c +++ b/src/common/logging.c @@ -125,6 +125,13 @@ .loglevel = LOGL_NOTICE, .enabled = 1, }, + [DASCI] = { + .name = "DASCI", + .description = "ASCI (Advanced Speech Call Items: VGCS/VBS)", + .loglevel = LOGL_NOTICE, + .enabled = 1, + }, + };
static int osmo_bts_filter_fn(const struct log_context *ctx, struct log_target *tgt)