Skip to content
Snippets Groups Projects
Commit 78cdf4b8 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

debug: use the "default" domain to log messages without a domain

This allows filtering messages without a domain using WIREPLUMBER_DEBUG
parent 9ca342f8
No related branches found
No related tags found
No related merge requests found
......@@ -246,8 +246,11 @@ wp_log_writer_default (GLogLevelFlags log_level,
extract_common_fields (&cf, fields, n_fields);
if (!cf.log_domain)
cf.log_domain = "default";
/* check if debug category is enabled */
if (cf.log_domain && enabled_categories) {
if (enabled_categories) {
GPatternSpec **cat = enabled_categories;
guint len;
g_autofree gchar *reverse_domain = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment