From 50c98bc5b535db7ac3ef94ba53c7fc6698bf4791 Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Mon, 11 Dec 2023 07:52:01 +0100 Subject: [PATCH] platform: arduino: mqtt: print where logs get sent to --- src/platform/arduino/MQTTTelemetry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/arduino/MQTTTelemetry.cpp b/src/platform/arduino/MQTTTelemetry.cpp index 440d042..5d43200 100644 --- a/src/platform/arduino/MQTTTelemetry.cpp +++ b/src/platform/arduino/MQTTTelemetry.cpp @@ -118,6 +118,8 @@ MQTTTelemetry::handleEventOnline(const InputEvent& evt) Log.notice("Connecting to MQTT as %s on %s...", Platform::deviceID(), Device.availabilityTopic.c_str()); if (m_mqtt.connect(Platform::deviceID(), NULL, NULL, Device.availabilityTopic.c_str(), 0, true, "offline")) { Log.notice("Connected to MQTT"); + String logTopic = m_debugTopic + "/log"; + Log.info("MQTT logs are available at %s", logTopic.c_str()); m_needHeartbeat = true; m_json.clear();