aboutsummaryrefslogtreecommitdiffstats
path: root/extra/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/main.c')
-rw-r--r--extra/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/main.c b/extra/main.c
index 1a7b0b7..8dce067 100644
--- a/extra/main.c
+++ b/extra/main.c
@@ -22,7 +22,7 @@
#include <stdint.h>
#include <string.h>
#include <errno.h>
-#include <../src/libdebug/debug.h>
+#include <../src/liblogging/logging.h>
#include <../src/liboptions/options.h>
int num_kanal = 1;
@@ -196,7 +196,8 @@ int main(int argc, char *argv[])
int argi;
int i;
- debuglevel = DEBUG_INFO;
+ loglevel = LOGL_INFO;
+ logging_init();
add_options();
@@ -255,3 +256,5 @@ inval_sub:
return 0;
}
+void osmo_cc_set_log_cat(void) {}
+