diff --git a/tasmota/support.ino b/tasmota/support.ino index 8587c034b..d9693a3a4 100644 --- a/tasmota/support.ino +++ b/tasmota/support.ino @@ -1669,6 +1669,8 @@ void AddLog(uint32_t loglevel) if (!global_state.wifi_down && (loglevel <= syslog_level)) { Syslog(); } + + prepped_loglevel = 0; } void AddLog_P(uint32_t loglevel, const char *formatP) diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index 19f592a18..c5e9c887f 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -809,7 +809,6 @@ void Every100mSeconds(void) if (prepped_loglevel) { AddLog(prepped_loglevel); - prepped_loglevel = 0; } if (latching_relay_pulse) {