diff options
author | Richard Hughes <richard@hughsie.com> | 2016-05-11 10:54:10 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-05-11 11:18:16 +0100 |
commit | 285d756db7e9bf7cd37bb66d209a0341f361beba (patch) | |
tree | 17629fb7e5d6c36d8697a8ea222ab9c1755bd9de | |
parent | 3b08f2f173259d5c95c02c3b0fece1220371edeb (diff) | |
download | appstream-glib-285d756db7e9bf7cd37bb66d209a0341f361beba.tar.gz |
trivial: Add some more debugging to debug an issue
-rw-r--r-- | client/as-util.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-store.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/client/as-util.c b/client/as-util.c index c8c959a..d7852d2 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -4266,7 +4266,7 @@ main (int argc, char *argv[]) /* set verbose? */ if (verbose) { - g_setenv ("AS_VERBOSE", "1", FALSE); + g_setenv ("G_MESSAGES_DEBUG", "all", FALSE); } else { g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, as_util_ignore_cb, NULL); diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index a812eb0..5635ca1 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -2356,6 +2356,7 @@ as_store_search_installed (AsStore *store, AsStorePrivate *priv = GET_PRIVATE (store); g_autofree gchar *dest = NULL; dest = g_build_filename (priv->destdir ? priv->destdir : "/", path, NULL); + g_debug ("searching path %s", dest); if (!g_file_test (dest, G_FILE_TEST_EXISTS)) return TRUE; return as_store_load_installed (store, flags, id_prefix, @@ -2487,6 +2488,7 @@ as_store_search_xdg_apps (AsStore *store, _xdg_app_get_arch (), "active", NULL); + g_debug ("searching path %s", dest); if (!g_file_test (dest, G_FILE_TEST_EXISTS)) continue; if (!as_store_load_app_info (store, id_prefix, dest, |