Commit 35e2db49 authored by Micha Mueller's avatar Micha Mueller
Browse files

Deduplicate logging of MQTT topics

parent cd238bef
...@@ -258,7 +258,6 @@ public: ...@@ -258,7 +258,6 @@ public:
for(const auto& g : _sensorGroups) { for(const auto& g : _sensorGroups) {
for(const auto& s : g->getSensors()) { for(const auto& s : g->getSensors()) {
s->setMqtt(_mqttPrefix + g->getMqttPart() + s->getMqtt()); s->setMqtt(_mqttPrefix + g->getMqttPart() + s->getMqtt());
LOG(debug) << g->getGroupName() << "::" << s->getName() << " using MQTT-topic \"" << s->getMqtt() << "\"";
} }
} }
return true; return true;
......
...@@ -233,7 +233,6 @@ bool PerfeventConfigurator::readConfig(std::string cfgPath) { ...@@ -233,7 +233,6 @@ bool PerfeventConfigurator::readConfig(std::string cfgPath) {
for(const auto& g : _sensorGroups) { for(const auto& g : _sensorGroups) {
for(const auto& s : g->getSensors()) { for(const auto& s : g->getSensors()) {
s->setMqtt(_mqttPrefix + g->getMqttPart() + s->getMqtt()); s->setMqtt(_mqttPrefix + g->getMqttPart() + s->getMqtt());
LOG(debug) << g->getGroupName() << "::" << s->getName() << " using MQTT-topic \"" << s->getMqtt() << "\"";
} }
} }
//we do not need them anymore //we do not need them anymore
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment