@cryptotaxi247 / netdata-1 / commits / 363e7f551

debug statement to show the config file read

Costa Tsaousis committed Aug 22, 2016 at 18:08 UTC 363e7f5511fb33e63e02d40f28da52883f6373a6
1 file changed +3
src/appconfig.c
+3
@@ -376,6 +376,9 @@ int load_config(char *filename, int overwrite_used)
376 char buffer[CONFIG_FILE_LINE_MAX + 1], *s;
377
378 if(!filename) filename = CONFIG_DIR "/" CONFIG_FILENAME;
379 +
380 + debug(D_CONFIG, "Opening config file '%s'", filename);
381 +
382 FILE *fp = fopen(filename, "r");
383 if(!fp) {
384 error("Cannot open file '%s'", filename);