diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 8582d0b4b..c8317f808 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -126,6 +126,11 @@ void Logger::setLogFile(const std::string &logFilename) { std::cout << "Warning: error while opening " << logFilename << " for writing.\n"; + mLogToStandardOut = true; + } + else + { + mLogToStandardOut = false; } } |