1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-02-09 09:23:56 +00:00

Log files that mustache is trying to open as info.

This commit is contained in:
King_DuckZ 2017-05-15 23:45:13 +01:00
parent 0c7d08e299
commit 34c23659e9

View file

@ -78,7 +78,7 @@ namespace tawashi {
boost::optional<std::string> load_whole_file (const std::string& parWebsiteRoot, const char* parSuffix, const boost::string_ref& parName, bool parThrow) { boost::optional<std::string> load_whole_file (const std::string& parWebsiteRoot, const char* parSuffix, const boost::string_ref& parName, bool parThrow) {
std::ostringstream oss; std::ostringstream oss;
oss << parWebsiteRoot << parName << parSuffix; oss << parWebsiteRoot << parName << parSuffix;
spdlog::get("statuslog")->debug("Trying to load \"{}\"", oss.str()); spdlog::get("statuslog")->info("Trying to load \"{}\"", oss.str());
std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in); std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in);
if (not if_mstch) { if (not if_mstch) {