aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-11 18:43:09 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-18 10:47:56 +0000
commita7ccf6158c1e0ad87bda1f5cac07b4aa1bbcf6b2 (patch)
tree0aab6a1ade418a39fbaf2df0028de9cc749697e3 /src/logging.c
parent5ade8f4b726985c1d61baf1037dd3d1f3aa1f121 (diff)
add DLMGCP logging category for libosmo-mgcp
In the course of splitting up the openbsc.git repository, we will create libosmo-mgcp and need a library logging category for that purpose. Change-Id: I09c587e2d59472cbde852d467d457254746d9e67
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c
index 2fb06bae..2e913e5f 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -161,6 +161,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.description = "libosmo-sigtran MTP3 User Adaptation",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [INT2IDX(DLMGCP)] = {
+ .name = "DLMGCP",
+ .description = "libosmo-mgcp Media Gateway Control Protocol",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
/*! descriptive string for each log level */