From 11e680d6405161ca0c06adddf3e99433dc8922e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 19 Feb 2009 08:35:22 +0100 Subject: conf: log the effective configuration file name For better debugging aid when something goes wrong, log the name of the effective configuration file. --- src/conf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/conf.c b/src/conf.c index 3f58d61aa..ea3f449dc 100644 --- a/src/conf.c +++ b/src/conf.c @@ -296,6 +296,8 @@ void config_read_file(const char *file) struct config_entry *entry; struct config_param *param; + g_debug("loading file %s", file); + if (!(fp = fopen(file, "r"))) { g_error("problems opening file %s for reading: %s\n", file, strerror(errno)); -- cgit v1.2.3