diff options
| author | Johann Latocha | 2010-08-30 17:21:30 +0200 |
|---|---|---|
| committer | Johann Latocha | 2010-08-30 17:21:30 +0200 |
| commit | c1d871390c75e46bf2cbc71b38796b5c33e67c77 (patch) | |
| tree | ed76b5490fe8357b810803c095a00e99a4f171ec /src/util/consoleLogger.cpp | |
| parent | PVS output errors fixed (diff) | |
| download | pvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.tar.gz pvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.tar.xz pvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.zip | |
Defect #644 and cleanout some old code
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(); } |
