Keep telnet output while serial logging was disabled

This commit is contained in:
Theo Arends 2025-03-24 12:16:35 +01:00
parent 52f3306f15
commit a3b564f4f3

View File

@ -2608,7 +2608,7 @@ bool GetLog(uint32_t req_loglevel, uint32_t* index_p, char** entry_pp, size_t* l
}
uint32_t HighestLogLevel(void) {
uint32_t highest_loglevel = TasmotaGlobal.seriallog_level;
uint32_t highest_loglevel = Settings->seriallog_level;
if (Settings->mqttlog_level > highest_loglevel) { highest_loglevel = Settings->mqttlog_level; }
#ifdef USE_WEBSERVER
if (Settings->weblog_level > highest_loglevel) { highest_loglevel = Settings->weblog_level; }