diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 5ebcf4b00..f2df1c78d 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -82,7 +82,7 @@ void LogManager::OpenFileLogs() for(ConfigIter i = tags.first; i != tags.second; ++i) { ConfigTag* tag = i->second; - std::string method = tag->getString("method"); + const std::string method = tag->getString("method", "file", 1); if (!stdalgo::string::equalsci(method, "file")) { continue; |