aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-19 08:35:22 +0100
committerMax Kellermann <max@duempel.org>2009-02-19 08:35:22 +0100
commit11e680d6405161ca0c06adddf3e99433dc8922e8 (patch)
treee82db5d706bb3537e94f9a11254528dc85aedc3b /src/conf.c
parent0a0736fc4e010db5d17c8aa9a7a71567cdae26ea (diff)
downloadmpd-11e680d6405161ca0c06adddf3e99433dc8922e8.tar.gz
mpd-11e680d6405161ca0c06adddf3e99433dc8922e8.tar.xz
mpd-11e680d6405161ca0c06adddf3e99433dc8922e8.zip
conf: log the effective configuration file name
For better debugging aid when something goes wrong, log the name of the effective configuration file.
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c2
1 files changed, 2 insertions, 0 deletions
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));