Index: sources/storage/Logger.cpp =================================================================== diff -u -r903697f659a275a5be31d05c460dae628f532aab -r376859852f4d1a07263c44524aec347db29e0133 --- sources/storage/Logger.cpp (.../Logger.cpp) (revision 903697f659a275a5be31d05c460dae628f532aab) +++ sources/storage/Logger.cpp (.../Logger.cpp) (revision 376859852f4d1a07263c44524aec347db29e0133) @@ -246,10 +246,12 @@ void Logger::log(const QString &vContent, LogType vLogType, bool vTimestamp) { static QString date; + QString mContent; QString currentDate = QDate::currentDate().toString(_dateFormat); if (date != currentDate) { if (!date.isEmpty()) { - ADD_EVENT_HEADER; + mContent = _headerE; + mContent += "\r\n" ; } date = currentDate; } @@ -268,7 +270,6 @@ LOG_DEBUG(QString("Incorrect type of logging %1").arg(vLogType)); } - QString mContent; if ( vTimestamp ) mContent = QTime::currentTime().toString(_timeFormat) + _separator;