aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-25 19:35:53 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-10 21:05:15 +0100
commit14620ca0bd8b90d23ae3ca87ca890167b3adf2df (patch)
treed6fbb0f7c09a0c9e5b93d8313d35736f8724ea0e /external
parenteasylogging++: Print thread ID in a nicer way (diff)
downloadmonero-14620ca0bd8b90d23ae3ca87ca890167b3adf2df.tar.xz
easylogging++: avoid creating directory/filename for the builtin default log file
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/easylogging++.cc2
1 files changed, 2 insertions, 0 deletions
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 ["