mu-test: fix logging verbosity

We were logging _everything since the g_log_set_handler was only set for the
default domain, not "mu". Let's fix this.
This commit is contained in:
Dirk-Jan C. Binnema
2025-06-15 10:52:24 +03:00
parent eb75141d0a
commit 7f274fe518

View File

@ -104,9 +104,8 @@ Mu::mu_test_init(int *argc, char ***argv)
if (!g_test_verbose())
g_log_set_handler(
NULL,
(GLogLevelFlags)(G_LOG_LEVEL_MASK |
G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION),
"mu",
(GLogLevelFlags)(G_LOG_LEVEL_MASK | G_LOG_FLAG_RECURSION),
(GLogFunc)black_hole, NULL);
}