conf: log the effective configuration file name
For better debugging aid when something goes wrong, log the name of the effective configuration file.
This commit is contained in:
parent
0a0736fc4e
commit
11e680d640
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user