aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2020-10-31 06:26:51 -0700
committerAleksander Morgado <aleksander@aleksander.es>2021-04-14 11:27:27 +0200
commit5a9460b3558e3ec5d63c51b12cfdc0915fd93317 (patch)
treee77cb4fc5e084409e7c7c32acf73ec168a0667e1
parente24346128d2c93501f0a41596fdfa4a6b8e18753 (diff)
log: enable QRTR logging
Add the 'Qrtr' domain so logging from libqrtr is enabled.
-rw-r--r--src/mm-log.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mm-log.c b/src/mm-log.c
index 8945b891..79b56db0 100644
--- a/src/mm-log.c
+++ b/src/mm-log.c
@@ -358,6 +358,13 @@ mm_log_setup (const char *level,
NULL);
#endif
+#if defined WITH_QRTR
+ g_log_set_handler ("Qrtr",
+ G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION,
+ log_handler,
+ NULL);
+#endif
+
#if defined WITH_MBIM
g_log_set_handler ("Mbim",
G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION,