From 0bfd8b27f946e24b08136fde08b9f09ba22e3888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 14 Jul 2016 16:51:35 +0200 Subject: [PATCH] clea up debug output --- server/logging/logengine.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/logging/logengine.cpp b/server/logging/logengine.cpp index 19f30f49..ef068943 100644 --- a/server/logging/logengine.cpp +++ b/server/logging/logengine.cpp @@ -196,8 +196,6 @@ QList LogEngine::logEntries(const LogFilter &filter) const entry.setValue(query.value("value").toString()); entry.setEventType((Logging::LoggingEventType)query.value("loggingEventType").toInt()); entry.setActive(query.value("active").toBool()); - entry.setActive(query.value("active").toBool()); - qCDebug(dcLogEngine) << entry; results.append(entry); } qCDebug(dcLogEngine) << "Fetched" << results.count() << "entries for db query:" << queryCall; @@ -331,9 +329,6 @@ void LogEngine::removeRuleLogs(const RuleId &ruleId) void LogEngine::appendLogEntry(const LogEntry &entry) { checkDBSize(); - - qCDebug(dcLogEngine()) << "Add log" << entry; - QString queryString = QString("INSERT INTO entries (timestamp, loggingEventType, loggingLevel, sourceType, typeId, deviceId, value, active, errorCode) values ('%1', '%2', '%3', '%4', '%5', '%6', '%7', '%8', '%9');") .arg(entry.timestamp().toTime_t()) .arg(entry.eventType()) @@ -448,7 +443,6 @@ void LogEngine::initDB() } qCDebug(dcLogEngine) << "Initialized logging DB successfully. (maximum DB size:" << m_dbMaxSize << ")"; - } }