Index: sources/canbus/FrameInterface.cpp =================================================================== diff -u -rfe9459548d7b0f6c1d8cb77c0e23d7a385b48fa2 -r80b8371f1a93481e05302cef6e474db802fda153 --- sources/canbus/FrameInterface.cpp (.../FrameInterface.cpp) (revision fe9459548d7b0f6c1d8cb77c0e23d7a385b48fa2) +++ sources/canbus/FrameInterface.cpp (.../FrameInterface.cpp) (revision 80b8371f1a93481e05302cef6e474db802fda153) @@ -20,7 +20,6 @@ #include // Project -#include "Logger.h" #include "MessageDispatcher.h" #include "CanInterface.h" @@ -47,7 +46,7 @@ startTimer(1, Qt::PreciseTimer); - LOG_DEBUG(tr("%1 Initialized").arg(metaObject()->className())); + //LOG_DEBUG(tr("%1 Initialized").arg(metaObject()->className())); // TODO is this needed? return true; } @@ -148,7 +147,7 @@ QCanBusFrame mFrame; mFrame.setFrameId(vCan_Id); if (vData.length() > Can::eLenCanFrame) { - LOG_DEBUG(QString("Payload cannot be larger than %1 bytes").arg(Can::eLenCanFrame)); + //LOG_DEBUG(QString("Payload cannot be larger than %1 bytes").arg(Can::eLenCanFrame)); // TODO is this needed? return; } mFrame.setPayload(vData); @@ -250,12 +249,12 @@ if ( debugChannel ) { logMessage = "Debug Channel\r\n" + Format::toHexString(mFrameId, false, eLenChannelDigits) + " -- " + vFrame.payload().toHex(' '); - LOG_DEBUG(logMessage); + //LOG_DEBUG(logMessage); // TODO is this needed? } if ( ! ok ) { logMessage = "Unexpected Channel\r\n" + Format::toHexString(mFrameId, false, eLenChannelDigits) + " -- " + vFrame.payload().toHex(' '); - LOG_DEBUG(logMessage); + //LOG_DEBUG(logMessage); // TODO is this needed? return; } @@ -361,7 +360,7 @@ if (_txFrameList.count() >= _txFrameList_Max) { static quint32 i = 0; if ( i % 60 == 0 ) { // log only for the first time and each minute. - LOG_DEBUG(QString("Transmit buffer overflow of %1").arg(_txFrameList_Max)); + //LOG_DEBUG(QString("Transmit buffer overflow of %1").arg(_txFrameList_Max)); // TODO is this needed? } if ( i < UINT32_MAX - 1 ) i++ ; else i = 0;