diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-11 19:22:48 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-16 00:17:59 +0000 |
| commit | 0af5d16872eccaaacea1a50e56a719cc94aa9f31 (patch) | |
| tree | 2f1cb94ba56f9d615526c0c372e4b3ba58f15353 /external | |
| parent | 2836284798ab448babc3f44b2715cb1d8183d9c4 (diff) | |
| download | monzero-core-0af5d16872eccaaacea1a50e56a719cc94aa9f31.tar.gz monzero-core-0af5d16872eccaaacea1a50e56a719cc94aa9f31.tar.xz monzero-core-0af5d16872eccaaacea1a50e56a719cc94aa9f31.zip | |
easylogging++: avoid creating directory/filename for the builtin default log file
Diffstat (limited to 'external')
| -rw-r--r-- | external/easylogging++/easylogging++.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h index ccea24d2e..6d13a27fd 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 [" |
