From 14620ca0bd8b90d23ae3ca87ca890167b3adf2df Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 25 Mar 2017 19:35:53 +0000 Subject: [PATCH] easylogging++: avoid creating directory/filename for the builtin default log file --- external/easylogging++/easylogging++.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc index 07648dd13..f80715424 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -1711,6 +1711,8 @@ void TypedConfigurations::insertFile(Level level, const std::string& fullFilenam m_fileStreamMap.insert(std::make_pair(level, base::FileStreamPtr(nullptr))); return; #endif + if (fullFilename.empty()) + return; std::string resolvedFilename = resolveFilename(fullFilename); if (resolvedFilename.empty()) { std::cerr << "Could not load empty file for logging, please re-check your configurations for level ["