diff options
Diffstat (limited to 'src/util/consoleLogger.cpp')
| -rwxr-xr-x | src/util/consoleLogger.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util/consoleLogger.cpp b/src/util/consoleLogger.cpp index ae29989..5d07dbe 100755 --- a/src/util/consoleLogger.cpp +++ b/src/util/consoleLogger.cpp @@ -233,14 +233,10 @@ void ConsoleLogger::_prepareLog() fullpath.append(_logName); _logFile.open(fullpath.toUtf8().data(), std::ofstream::out | std::ofstream::app); if (_logFile.good()) - { _logFileGood = true; - writeTerminal(QString("LogPath/Name changed to: ").append(fullpath)); - } else - { printf("ERROR: Logfile ( %s ) not accessible/found. Logs will not be available.\n", _logPath.toUtf8().data()); - } + _logFile.close(); } |
