aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO-RELEASE1
-rw-r--r--include/osmocom/core/logging.h3
-rw-r--r--src/logging.c5
3 files changed, 8 insertions, 1 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 290fb0e..4d75b00 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,3 +1,4 @@
#library what description / commit summary line
libosmocore abi-change logging: Add ability to save/print current log filters
+libosmocore abi-change gtp: Add a global region for the gtp library of OpenGGSN
libosmovty abi-change vty: Check with the application before writing the config
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 4c893ac..c37c9f3 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -68,7 +68,8 @@ void logp(int subsys, const char *file, int line, int cont, const char *format,
#define DLMIB -6
#define DLSMS -7
#define DLCTRL -8
-#define OSMO_NUM_DLIB 8
+#define DLGTP -9
+#define OSMO_NUM_DLIB 9
struct log_category {
uint8_t loglevel;
diff --git a/src/logging.c b/src/logging.c
index f9d789d..a4c3e0e 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -111,6 +111,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.description = "Control Interface",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [INT2IDX(DLGTP)] = {
+ .name = "DLGTP",
+ .description = "GPRS GTP library",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
/*! \brief descriptive string for each log level */