summaryrefslogtreecommitdiffstats
path: root/src/util/consoleLogger.cpp
diff options
context:
space:
mode:
authorJohann Latocha2010-08-30 17:21:30 +0200
committerJohann Latocha2010-08-30 17:21:30 +0200
commitc1d871390c75e46bf2cbc71b38796b5c33e67c77 (patch)
treeed76b5490fe8357b810803c095a00e99a4f171ec /src/util/consoleLogger.cpp
parentPVS output errors fixed (diff)
downloadpvs-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-xsrc/util/consoleLogger.cpp6
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();
}