src: use new libosmogsm and include/osmocom/[gsm|core] path to headers
[osmocom-bb.git] / src / host / layer23 / src / common / logging.c
index 281f46f..5283935 100644 (file)
@@ -21,8 +21,8 @@
  */
 
 
-#include <osmocore/utils.h>
-#include <osmocore/logging.h>
+#include <osmocom/core/utils.h>
+#include <osmocom/core/logging.h>
 #include <osmocom/bb/common/logging.h>
 
 static const struct log_info_cat default_categories[] = {
@@ -30,7 +30,7 @@ static const struct log_info_cat default_categories[] = {
                .name = "DRSL",
                .description = "Radio Signalling Link (MS)",
                .color = "\033[1;35m",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        },
        [DCS] = {
                .name = "DCS",
@@ -88,12 +88,18 @@ static const struct log_info_cat default_categories[] = {
        [DLAPDM] = {
                .name = "DLAPDM",
                .description = "LAPDm Layer2",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        },
        [DL1C]  = {
                .name = "DL1C",
                .description = "Layer 1 Control",
                .color = "\033[1;31m",
+               .enabled = 1, .loglevel = LOGL_NOTICE,
+       },
+       [DSAP]  = {
+               .name = "DSAP",
+               .description = "SAP Control",
+               .color = "\033[1;31m",
                .enabled = 1, .loglevel = LOGL_DEBUG,
        },
        [DSUM] = {
@@ -102,6 +108,18 @@ static const struct log_info_cat default_categories[] = {
                .color = "\033[1;37m",
                .enabled = 1, .loglevel = LOGL_DEBUG,
        },
+       [DSIM] = {
+               .name = "DSIM",
+               .description = "SIM client",
+               .color = "\033[0;35m",
+               .enabled = 1, .loglevel = LOGL_DEBUG,
+       },
+       [DGPS] = {
+               .name = "DGPS",
+               .description = "GPS",
+               .color = "\033[1;35m",
+               .enabled = 1, .loglevel = LOGL_DEBUG,
+       },
 };
 
 const struct log_info log_info = {