diff options
author | Harald Welte <laforge@osmocom.org> | 2023-05-11 16:12:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2023-05-11 16:13:56 +0200 |
commit | 42415db71f886e8daaf04c7a88f45a63aa37123e (patch) | |
tree | b962db065697759e12b620f55d290a6c14abbc4b | |
parent | 9b1b7401fb921fd5fa12bce88734741dfa5bea96 (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) |