]> arthur.barton.de Git - netdata.git/commitdiff
added procfile completion debug
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 19 Mar 2015 08:27:19 +0000 (10:27 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 19 Mar 2015 08:27:19 +0000 (10:27 +0200)
src/procfile.c

index b8530e47a124496ba1dd87568647c9086a62e5d7..cc1ffe62e17f117e9cee2710cfff36c8726e096e 100755 (executable)
@@ -262,6 +262,7 @@ procfile *procfile_readall(procfile *ff) {
 
        ff = procfile_parser(ff);
 
+       debug(D_PROCFILE, "File '%s' updated.", ff->filename);
        return ff;
 }
 
@@ -308,6 +309,7 @@ procfile *procfile_open(const char *filename, const char *separators) {
        const char *s = separators;
        while(*s) ff->separators[(int)*s++] = PF_CHAR_IS_SEPARATOR;
 
+       debug(D_PROCFILE, "File '%s' opened.", ff->filename);
        return ff;
 }