summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-12 21:16:18 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-12 21:16:18 +0200
commite5649ead078cbd7bbe66a61c73e900ba591e0dae (patch)
tree6e8558d0fe5c76de0771d318f4f6fe7185be8453 /app
parentfe0a1be5f811525ae135588395ec08f87c268555 (diff)
downloadxdg-app-e5649ead078cbd7bbe66a61c73e900ba591e0dae.tar.gz
Fix debug spew with -v
Diffstat (limited to 'app')
-rw-r--r--app/flatpak-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/flatpak-main.c b/app/flatpak-main.c
index e8ee2ed..272f0f6 100644
--- a/app/flatpak-main.c
+++ b/app/flatpak-main.c
@@ -215,7 +215,7 @@ flatpak_option_context_parse (GOptionContext *context,
}
if (opt_verbose)
- g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, message_handler, NULL);
+ g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, message_handler, NULL);
if (out_dir)
*out_dir = g_steal_pointer (&dir);
@@ -332,7 +332,7 @@ main (int argc,
setlocale (LC_ALL, "");
- g_log_set_handler (NULL, G_LOG_LEVEL_MESSAGE, message_handler, NULL);
+ g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, message_handler, NULL);
g_set_prgname (argv[0]);