mirror of https://github.com/nymea/nymea.git
Merge PR #685: Influxdb: Disable debug print if database is disabled or not initialized
commit
9127829a6c
|
|
@ -153,7 +153,9 @@ void LogEngineInfluxDB::unregisterLogSource(const QString &name)
|
||||||
}
|
}
|
||||||
|
|
||||||
QString queryString = QString("DROP MEASUREMENT \"%1\"").arg(name);
|
QString queryString = QString("DROP MEASUREMENT \"%1\"").arg(name);
|
||||||
qCInfo(dcLogEngine()) << "Removing log entries:" << queryString;
|
if (m_initStatus == InitStatusOK)
|
||||||
|
qCDebug(dcLogEngine()) << "Removing log entries:" << queryString;
|
||||||
|
|
||||||
QueryJob *job = query(queryString);
|
QueryJob *job = query(queryString);
|
||||||
connect(job, &QueryJob::finished, this, [name](bool success){
|
connect(job, &QueryJob::finished, this, [name](bool success){
|
||||||
if (success) {
|
if (success) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue