Index: sources/storage/Logger.cpp =================================================================== diff -u -r0c983aea7de7480e86739469f5a64ad18b244634 -r79e076cece4ba503be6c3834eb68d1e5cb1b882f --- sources/storage/Logger.cpp (.../Logger.cpp) (revision 0c983aea7de7480e86739469f5a64ad18b244634) +++ sources/storage/Logger.cpp (.../Logger.cpp) (revision 79e076cece4ba503be6c3834eb68d1e5cb1b882f) @@ -70,7 +70,7 @@ */ bool Logger::init(QThread &vThread) { - // coco begin validated: Application is not running in multi-threaded mode for testing + // disabled coco begin validated: Application is not running in multi-threaded mode for testing // it has been tested and works perfectly fine in normal run. if ( ! init() ) return false; initThread(vThread); @@ -115,7 +115,7 @@ */ void Logger::quit() { - // coco begin validated: Application termination is not correctly done in coco!!! + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. quitThread(); // validated } @@ -154,7 +154,7 @@ */ void Logger::initThread(QThread &vThread) { - // coco begin validated: Application is not running in multi-threaded mode for testing + // disabled coco begin validated: Application is not running in multi-threaded mode for testing // it has been tested and works perfectly fine in normal run. // runs in main thread Q_ASSERT_X(QThread::currentThread() == qApp->thread() , __func__, "The Class initialization must be done in Main Thread" ); @@ -172,7 +172,7 @@ */ void Logger::quitThread() { - // coco begin validated: Application termination is not correctly done in coco!!! + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. if (! _thread) return; @@ -193,7 +193,7 @@ void Logger::checkLogPath() { setLogBasePath(); // try to use /media/sd_card on device - // coco begin validated: It can only happen if the file system is read-only for any reason. + // disabled coco begin validated: It can only happen if the file system is read-only for any reason. // it has been tested and works perfectly fine in normal run. if (! setLogPath()) { // check and create log folders & if unsuccessful then // coco end @@ -229,7 +229,7 @@ bool Logger::setLogPath() { bool ok = true; - // coco begin validated: Has been tested manually, this needs user interaction to check the file system + // disabled coco begin validated: Has been tested manually, this needs user interaction to check the file system if ( ok && ! setLogPath(LogType::eLogEvent) ) ok = false; if ( ok && ! setLogPath(LogType::eLogDatum) ) ok = false; if ( ok && ! setLogPath(LogType::eLogDebug) ) ok = false; @@ -316,7 +316,7 @@ logPathName = _logPathNames[eLogDebug]; _logFileName = logPathName + fileName; FileHandler::write(_logFileName, mContent + "\r\n", true); - // coco begin validated: This code is only for debugging purposes and had been tested manually. + // disabled coco begin validated: This code is only for debugging purposes and had been tested manually. if (_enableConsoleOut) { qDebug().noquote() << mContent; } @@ -331,7 +331,7 @@ */ bool Logger::exportLogs() { - // coco begin validated: This needs user interaction to check the old files deleted + // disabled coco begin validated: This needs user interaction to check the old files deleted // has been tested manually int result = 0; static QString mOSource; @@ -358,7 +358,7 @@ */ bool Logger::concurrentExportLogs() { - // coco begin validated: This needs user interaction to export to USB device + // disabled coco begin validated: This needs user interaction to export to USB device // has been tested manually LOG_DEBUG("Export Logs Start"); QFuture future = QtConcurrent::run(this, &Logger::exportLogs); @@ -373,7 +373,7 @@ */ void Logger::onExportLogs() { - // coco begin validated: This needs user interaction to export to USB device + // disabled coco begin validated: This needs user interaction to export to USB device // has been tested manually LOG_DEBUG(QString("Export Logs Ended: %1").arg(_exportLogsWatcher.result())); emit didExportLogs(); @@ -387,7 +387,7 @@ */ int Logger::removeLogs() { - // coco begin validated: This needs user interaction to check the old files deleted + // disabled coco begin validated: This needs user interaction to check the old files deleted // Storage::FileHandler::find("/media/denali/0CAA-40C1/log/", {"*.err"}, 15); return 0; // has been tested manually LOG_DEBUG(tr("Initializing log clean up")); @@ -449,7 +449,7 @@ */ bool Logger::concurrentRemoveLogs() { - // coco begin validated: This needs user interaction to check the old files deleted + // disabled coco begin validated: This needs user interaction to check the old files deleted // has been tested manually LOG_DEBUG("Remove Logs Starting"); emit didRemoveLogs(true); @@ -465,7 +465,7 @@ */ void Logger::onRemoveLogs() { - // coco begin validated: This needs user interaction to export to USB device + // disabled coco begin validated: This needs user interaction to export to USB device // has been tested manually LOG_DEBUG(tr("Remove Logs Ended: %1").arg(_removeLogsWatcher.result())); emit didRemoveLogs(false); @@ -485,7 +485,7 @@ */ void Logger::onSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent) { - // coco begin validated: This needs user interaction to change the SD card files system. + // disabled coco begin validated: This needs user interaction to change the SD card files system. // has been tested manually Q_UNUSED(vTotal ) Q_UNUSED(vAvailable ) @@ -503,7 +503,7 @@ * \param vEnabled - Enable console output if true */ void Logger::enableConsoleOut(bool vEnabled) { - // coco begin validated: This code meant to be used only for debugging and tested manually + // disabled coco begin validated: This code meant to be used only for debugging and tested manually if (_enableConsoleOut == vEnabled) return; _enableConsoleOut = vEnabled; if (_enableConsoleOut) {