@cryptotaxi247 / netdata-1 / commits / c8445bf2c

added procfile completion debug

Costa Tsaousis (ktsaou) committed Mar 19, 2015 at 10:27 UTC c8445bf2c82e0e6069b890c124da60c13f58f395
1 file changed +2
src/procfile.c
+2
@@ -262,6 +262,7 @@ procfile *procfile_readall(procfile *ff) {
262
263 ff = procfile_parser(ff);
264
265 + debug(D_PROCFILE, "File '%s' updated.", ff->filename);
266 return ff;
267 }
268
@@ -308,6 +309,7 @@ procfile *procfile_open(const char *filename, const char *separators) {
309 const char *s = separators;
310 while(*s) ff->separators[(int)*s++] = PF_CHAR_IS_SEPARATOR;
311
312 + debug(D_PROCFILE, "File '%s' opened.", ff->filename);
313 return ff;
314 }
315