Index: sources/storage/Logger.cpp =================================================================== diff -u -re159592e3a99658e661ab83fffef43322dc075f3 -r2216ac6ac7f77437a7c29ac8b4043be01bc4609e --- sources/storage/Logger.cpp (.../Logger.cpp) (revision e159592e3a99658e661ab83fffef43322dc075f3) +++ sources/storage/Logger.cpp (.../Logger.cpp) (revision 2216ac6ac7f77437a7c29ac8b4043be01bc4609e) @@ -206,6 +206,7 @@ if ( ok && ! setLogPath(LogType::eLogEvent) ) ok = false; if ( ok && ! setLogPath(LogType::eLogDatum) ) ok = false; if ( ok && ! setLogPath(LogType::eLogDebug) ) ok = false; + if ( ok && ! setLogPath(LogType::eLogTrtmt) ) ok = false; return ok; } // coco end @@ -249,6 +250,7 @@ case LogType::eLogEvent: case LogType::eLogDatum: case LogType::eLogDebug: + // case LogType::eLogTrtmt: // this type of log will never happen here. Only put here to make sure it is intentional. fileName += _logFileNameExt[vLogType]; break; @@ -291,7 +293,7 @@ int result = 0; static QString mOSource; QString mDestination = USB_Mount_Point; - for ( const auto &iType : { eLogEvent, eLogDatum } ) { + for ( const auto &iType : { eLogEvent, eLogDatum /*, eLogDebug*/ } ) { QString mCSource = _logPathNames[iType]; // if the event and datum are mixed (mOSource == mCSource) in one file then no need to go over the same files in same folder and do it again. if (mOSource != mCSource) { @@ -350,7 +352,7 @@ static QString mOExtension; int removeCount = 0; QString mLogFileFilter; - for ( const auto &iType : { eLogEvent , eLogDatum , eLogDebug } ) { + for ( const auto &iType : { eLogEvent , eLogDatum , eLogDebug , eLogTrtmt } ) { QString mCSource = _logPathNames [iType]; QString mCExtension = _logFileNameExt[iType]; // if the event and datum are mixed (mOSource == mCSource && mCExtension == mOExtension) in one file then no need to go over the same files in same folder and do it again.