mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: avoid creating directory/filename for the builtin default log file
This commit is contained in:
parent
0c1ad0ff1a
commit
14620ca0bd
1 changed files with 2 additions and 0 deletions
2
external/easylogging++/easylogging++.cc
vendored
2
external/easylogging++/easylogging++.cc
vendored
|
@ -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 ["
|
||||
|
|
Loading…
Reference in a new issue