diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-02 12:19:41 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-02 12:19:41 +0100 |
commit | a4dfb5055fd2f9bee340e1e90b997b294d14429a (patch) | |
tree | 651e3f3c87526ebfedcd6d017cf4bada0545127b | |
parent | ea838954942fc049db6bfdcdc6a0403acb4c43c6 (diff) | |
download | external_libqmi-a4dfb5055fd2f9bee340e1e90b997b294d14429a.zip external_libqmi-a4dfb5055fd2f9bee340e1e90b997b294d14429a.tar.gz external_libqmi-a4dfb5055fd2f9bee340e1e90b997b294d14429a.tar.bz2 |
cli: log messages from the 'Qmi' domain
-rw-r--r-- | cli/qmicli.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |