Index: sources/canbus/CanInterface.cpp =================================================================== diff -u -rfe9459548d7b0f6c1d8cb77c0e23d7a385b48fa2 -r80b8371f1a93481e05302cef6e474db802fda153 --- sources/canbus/CanInterface.cpp (.../CanInterface.cpp) (revision fe9459548d7b0f6c1d8cb77c0e23d7a385b48fa2) +++ sources/canbus/CanInterface.cpp (.../CanInterface.cpp) (revision 80b8371f1a93481e05302cef6e474db802fda153) @@ -22,7 +22,6 @@ #include // Project -#include "Logger.h" #include "MessageGlobals.h" #include "FrameInterface.h" @@ -58,7 +57,7 @@ QString logMessage = QString("UI,%1,%2") .arg(tr("%1 Initialized").arg(metaObject()->className())) .arg(status()); - LOG_DEBUG(logMessage); + //OG_DEBUG(logMessage); // TODO is this needed? return true; } @@ -113,9 +112,9 @@ if (_enableConsoleOut == vEnabled) return; _enableConsoleOut = vEnabled; if (_enableConsoleOut) { - LOG_DEBUG("Console out CanInterface enabled"); + //LOG_DEBUG("Console out CanInterface enabled"); // TODO is this needed? } else { - LOG_DEBUG("Console out CanInterface disabled"); + //LOG_DEBUG("Console out CanInterface disabled"); // TODO is this needed? } } // disabled coco end @@ -190,7 +189,7 @@ // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if (!_canDevice) { status(tr("Device Creation"), mError); - LOG_DEBUG(status()); + //LOG_DEBUG(status()); // TODO is this needed? return false; } // disabled coco end @@ -208,7 +207,7 @@ { if (!_canDevice->connectDevice()) { status(tr("Connection")); - LOG_DEBUG(status()); + //LOG_DEBUG(status()); // TODO is this needed? delete _canDevice; _canDevice = nullptr; return false; @@ -372,7 +371,7 @@ // log the error each 100k frame and if error is different if (_canStatus != _canDevice->errorString() || !(_erFrameCount % 100000)) { _canStatus = _canDevice->errorString(); - LOG_DEBUG(QString("%1 - %2").arg(_erFrameCount).arg(_canStatus)); + //LOG_DEBUG(QString("%1 - %2").arg(_erFrameCount).arg(_canStatus)); // TODO is this needed? } break;