Don't spam debug messages into TAP output

g_log_writer_standard_streams just puts all the logs
out onto stderr and stdout if we don't stop it. Pango
recently grew a bunch of g_debug calls, and those were
now showing up, making all the reftests fail.
This commit is contained in:
Matthias Clasen
2021-11-16 18:45:34 -05:00
parent 96778fca92
commit c86789427d

View File

@@ -497,7 +497,10 @@ log_writer (GLogLevelFlags log_level,
}
#endif
return g_log_writer_standard_streams (log_level, fields, n_fields, user_data);
if (!g_log_writer_default_would_drop (log_level, NULL))
return g_log_writer_standard_streams (log_level, fields, n_fields, user_data);
return G_LOG_WRITER_HANDLED;
}
int