Index: sources/device/DeviceController.cpp =================================================================== diff -u -re9cf81f171b62d34d20d8a45674cee65179fdeb0 -r9dc9343fa05d258200e3d9e63d0554d2a422a6fd --- sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision e9cf81f171b62d34d20d8a45674cee65179fdeb0) +++ sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision 9dc9343fa05d258200e3d9e63d0554d2a422a6fd) @@ -1036,13 +1036,15 @@ bool ok = true; QFileInfo fileInfo(vFileName); - const QString filePath; - const QString fileBase(fileInfo.baseName()); + QString filePath; + QString fileBase(fileInfo.baseName()); + const QString pendingExt = _Logger.logFileNamePendingSubExt(); const QString uploadExt = _Logger.logFileNameUploadedSubExt(); const QString fileSufx(fileInfo.completeSuffix().replace(pendingExt, uploadExt)); - const QString fileDest = QString("%1.%2").arg(fileBase, fileSufx); + QString fileDest = QString("%1.%2").arg(fileBase, fileSufx); + Logger::LogType logType = _Logger.logFileLogType(vFileName, filePath); ok = logType != Logger::eLogNone; if ( ! ok ) { LOG_APPED_UI(QString("CS Incorrect log upload type [%1]").arg(fileSufx)); goto lOut; }