change mqttlogger mode

This commit is contained in:
technyon
2022-12-31 15:14:11 +01:00
parent 803cc8d3d4
commit a4d496f92b
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ void W5500Device::initialize()
String pathStr = _preferences->getString(preference_mqtt_lock_path);
pathStr.concat(mqtt_topic_log);
strcpy(_path, pathStr.c_str());
Log = new MqttLogger(*_mqttClient, _path);
Log = new MqttLogger(*_mqttClient, _path, MqttLoggerMode::MqttAndSerial);
}
reconnect();