mirror of https://github.com/arendst/Tasmota.git
Support syslog updates every sleep
Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
This commit is contained in:
parent
23b4cd08d4
commit
b81eaf5bc8
|
@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Refactoring of Berry `animate` module for WS2812 Leds (#20236)
|
||||
|
||||
### Changed
|
||||
- Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
|
||||
|
||||
### Fixed
|
||||
- Matter Contact sensor was not triggering any update (#20232)
|
||||
|
|
|
@ -126,6 +126,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||
- Refactoring of Berry `animate` module for WS2812 Leds [#20236](https://github.com/arendst/Tasmota/issues/20236)
|
||||
|
||||
### Changed
|
||||
- Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` [#20260](https://github.com/arendst/Tasmota/issues/20260)
|
||||
|
||||
### Fixed
|
||||
- CVE-2021-36603 Cross Site Scripting (XSS) vulnerability [#12221](https://github.com/arendst/Tasmota/issues/12221)
|
||||
|
|
|
@ -887,7 +887,9 @@ void Scheduler(void) {
|
|||
#endif // USE_ARDUINO_OTA
|
||||
#endif // ESP8266
|
||||
|
||||
#ifndef SYSLOG_UPDATE_SECOND
|
||||
SyslogAsync(false);
|
||||
#endif // SYSLOG_UPDATE_SECOND
|
||||
}
|
||||
|
||||
void loop(void) {
|
||||
|
|
|
@ -1142,6 +1142,9 @@ void PerformEverySecond(void)
|
|||
}
|
||||
|
||||
MqttPublishLoggingAsync(false);
|
||||
#ifdef SYSLOG_UPDATE_SECOND
|
||||
SyslogAsync(false);
|
||||
#endif // SYSLOG_UPDATE_SECOND
|
||||
|
||||
ResetGlobalValues();
|
||||
|
||||
|
|
Loading…
Reference in New Issue