From a4dfb5055fd2f9bee340e1e90b997b294d14429a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 2 Nov 2012 12:19:41 +0100 Subject: cli: log messages from the 'Qmi' domain --- cli/qmicli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/qmicli.c b/cli/qmicli.c index 659f969..43401a5 100644 --- a/cli/qmicli.c +++ b/cli/qmicli.c @@ -494,7 +494,8 @@ int main (int argc, char **argv) if (version_flag) print_version_and_exit (); - g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_MASK, log_handler, NULL); + g_log_set_handler (NULL, G_LOG_LEVEL_MASK, log_handler, NULL); + g_log_set_handler ("Qmi", G_LOG_LEVEL_MASK, log_handler, NULL); if (verbose_flag) qmi_utils_set_traces_enabled (TRUE); -- cgit v1.1