summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-12-14 15:02:19 +0000
committerSimon McVittie <smcv@debian.org>2022-12-14 20:02:35 +0000
commitea584acf200b1ec174fe7d0e6b22016a88930772 (patch)
tree91fadf5432e7e2df6e5fafdb69c6fc61ed0ed645 /tests
parentac4e322629c2a11fd921fc2977bb29f18d072ad3 (diff)
downloadflatpak-ea584acf200b1ec174fe7d0e6b22016a88930772.tar.gz
daemons: Treat g_info() as equivalent to g_debug()
Same as the previous commit, but for anything that runs in the background. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-authenticator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-authenticator.c b/tests/test-authenticator.c
index 031413d9..f6b6aa72 100644
--- a/tests/test-authenticator.c
+++ b/tests/test-authenticator.c
@@ -322,7 +322,7 @@ message_handler (const gchar *log_domain,
gpointer user_data)
{
/* Make this look like normal console output */
- if (log_level & G_LOG_LEVEL_DEBUG)
+ if (log_level & (G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_INFO))
g_printerr ("F: %s\n", message);
else
g_printerr ("%s: %s\n", g_get_prgname (), message);
@@ -372,7 +372,7 @@ main (int argc,
}
if (opt_verbose)
- g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, message_handler, NULL);
+ g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_INFO, message_handler, NULL);
g_debug ("Started test-authenticator");