These use printf for some reason. Instead of always printing them and having them clutter the log, blog them with debug level. They don't appear in log files anyway.
@@ -46,7 +46,7 @@ static inline bool check_path(const char *data, const char *path,
str << path << data;
output = str.str();
- printf("Attempted path: %s\n", output.c_str());
+ blog(LOG_DEBUG, "Attempted path: %s", output.c_str());
return os_file_exists(output.c_str());
}
@@ -178,7 +178,7 @@ static inline bool check_path(const char *data, const char *path,
return (access(output.c_str(), R_OK) == 0);