diff options
author | Harald Welte <laforge@osmocom.org> | 2023-05-11 16:12:27 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-07-10 18:06:19 +0000 |
commit | 3480a2ab4cc385b803977ef6cf56f3a66c0cb4d4 (patch) | |
tree | 8c8628c5a6c3d3659891235ba9cd50be110db59f | |
parent | ad15414fd9642f4fbf6a540e54f4a24728acbd63 (diff) |
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
-rw-r--r-- | include/osmo-bts/logging.h | 1 | ||||
-rw-r--r-- | src/common/logging.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/osmo-bts/logging.h b/include/osmo-bts/logging.h index cf46352d..ce08e47c 100644 --- a/include/osmo-bts/logging.h +++ b/include/osmo-bts/logging.h @@ -21,6 +21,7 @@ enum { 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 9335d934..cee4ff63 100644 --- a/src/common/logging.c +++ b/src/common/logging.c @@ -125,6 +125,13 @@ static struct log_info_cat bts_log_info_cat[] = { .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) |