From 0af5d16872eccaaacea1a50e56a719cc94aa9f31 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 11 Dec 2016 19:22:48 +0000 Subject: [PATCH] easylogging++: avoid creating directory/filename for the builtin default log file --- external/easylogging++/easylogging++.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h index ccea24d2..6d13a27f 100644 --- a/external/easylogging++/easylogging++.h +++ b/external/easylogging++/easylogging++.h @@ -3182,6 +3182,8 @@ namespace base { } void insertFile(Level level, const std::string& fullFilename) { + 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 ["