aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-04 16:31:18 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-06-17 21:48:02 +0200
commit7500d737e8434cea846e76b1c57ae5d1561fb63e (patch)
tree4f42383d25a69cfa9f8e9e86c79574f679adc8d9
parentf8e02aa4e3d87bbdc66819d3a56380881e24ce5a (diff)
add DHODEC debug category, tweak DHO name
-rw-r--r--openbsc/include/openbsc/debug.h1
-rw-r--r--openbsc/src/libcommon/debug.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 43ebb19a0..305552ea4 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -22,6 +22,7 @@ enum {
DMSC,
DMGCP,
DHO,
+ DHODEC,
DDB,
DREF,
DGPRS,
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index cf5beeb44..30f477e81 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -107,7 +107,14 @@ static const struct log_info_cat default_categories[] = {
},
[DHO] = {
.name = "DHO",
- .description = "Hand-Over",
+ .description = "Hand-Over Process",
+ .color = "\033[1;38m",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
+ [DHODEC] = {
+ .name = "DHODEC",
+ .description = "Hand-Over Decision",
+ .color = "\033[1;38m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
[DDB] = {