diff --git a/src/WebApi_mqtt.cpp b/src/WebApi_mqtt.cpp index fbf9fabf2..e9830a4f8 100644 --- a/src/WebApi_mqtt.cpp +++ b/src/WebApi_mqtt.cpp @@ -305,7 +305,7 @@ void WebApiMqttClass::onMqttAdminPost(AsyncWebServerRequest* request) CONFIG_T& config = Configuration.get(); config.Mqtt_Enabled = root["mqtt_enabled"].as(); - config.Mqtt_VerboseLogging = root["verbose_logging"].as(); + config.Mqtt_VerboseLogging = root["mqtt_verbose_logging"].as(); config.Mqtt_Retain = root["mqtt_retain"].as(); config.Mqtt_Tls = root["mqtt_tls"].as(); strlcpy(config.Mqtt_RootCaCert, root["mqtt_root_ca_cert"].as().c_str(), sizeof(config.Mqtt_RootCaCert)); diff --git a/webapp/src/locales/en.json b/webapp/src/locales/en.json index 5deea2a93..b105fde56 100644 --- a/webapp/src/locales/en.json +++ b/webapp/src/locales/en.json @@ -298,6 +298,7 @@ "MqttInformation": "MQTT Information", "ConfigurationSummary": "@:ntpinfo.ConfigurationSummary", "Status": "@:ntpinfo.Status", + "VerboseLogging": "@:base.VerboseLogging", "Enabled": "Enabled", "Disabled": "Disabled", "Server": "@:ntpinfo.Server", diff --git a/webapp/src/types/MqttStatus.ts b/webapp/src/types/MqttStatus.ts index 839d4854c..b9870a1de 100644 --- a/webapp/src/types/MqttStatus.ts +++ b/webapp/src/types/MqttStatus.ts @@ -1,5 +1,6 @@ export interface MqttStatus { mqtt_enabled: boolean; + mqtt_verbose_logging: boolean; mqtt_hostname: string; mqtt_port: number; mqtt_username: string; diff --git a/webapp/src/views/MqttInfoView.vue b/webapp/src/views/MqttInfoView.vue index 5f21713c9..987146326 100644 --- a/webapp/src/views/MqttInfoView.vue +++ b/webapp/src/views/MqttInfoView.vue @@ -10,6 +10,12 @@ + + {{ $t('mqttinfo.VerboseLogging') }} + + + + {{ $t('mqttinfo.Server') }} {{ mqttDataList.mqtt_hostname }}