[pulseaudio-discuss] [PATCH] conf-parser: Add debug print of parsed files

David Henningsson david.henningsson at canonical.com
Fri Aug 22 02:51:25 PDT 2014


This is useful for debugging.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 src/pulsecore/conf-parser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pulsecore/conf-parser.c b/src/pulsecore/conf-parser.c
index 200252b..1683d46 100644
--- a/src/pulsecore/conf-parser.c
+++ b/src/pulsecore/conf-parser.c
@@ -175,6 +175,7 @@ int pa_config_parse(const char *filename, FILE *f, const pa_config_item *t, pa_p
         pa_log_warn("Failed to open configuration file '%s': %s", filename, pa_cstrerror(errno));
         goto finish;
     }
+    pa_log_debug("Parsing configuration file '%s'", filename);
 
     state.filename = filename;
     state.item_table = t;
-- 
1.9.1



More information about the pulseaudio-discuss mailing list