diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-20 19:58:13 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:18 +0200 |
commit | 7fd0c830d968e67be555bd1aeabced4cc5e08061 (patch) | |
tree | f313a2b194ebd857192efd2585167d52ec6a9762 /src/logging.c | |
parent | f3c7e85d05f7b2b7bf093162b776f71b2bc6420d (diff) |
libctrl: Add DLCTRL as logging context for the control interface
... and make libctrl code use it
Diffstat (limited to 'src/logging.c')
-rw-r--r-- | src/logging.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c index 2e3a80ad..f9d789d7 100644 --- a/src/logging.c +++ b/src/logging.c @@ -106,6 +106,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = { .enabled = 1, .loglevel = LOGL_NOTICE, .color = "\033[1;38m", }, + [INT2IDX(DLCTRL)] = { + .name = "DLCTRL", + .description = "Control Interface", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, }; /*! \brief descriptive string for each log level */ |