diff options
Diffstat (limited to 'tests/bssap/bssap_test.c')
-rw-r--r-- | tests/bssap/bssap_test.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bssap/bssap_test.c b/tests/bssap/bssap_test.c index 1d8fe7720..dac0ff762 100644 --- a/tests/bssap/bssap_test.c +++ b/tests/bssap/bssap_test.c @@ -120,6 +120,24 @@ void test_cell_identifier() } } +static const struct log_info_cat log_categories[] = { + [DMSC] = { + .name = "DMSC", + .description = "Mobile Switching Center", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, + [DREF] = { + .name = "DREF", + .description = "Reference Counting", + .enabled = 0, .loglevel = LOGL_DEBUG, + }, +}; + +static const struct log_info log_info = { + .cat = log_categories, + .num_cat = ARRAY_SIZE(log_categories), +}; + int main(int argc, char **argv) { osmo_init_logging(&log_info); |