From 2c9d7b1176de5d35b8ee239b1e88da260de054b4 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 10 Dec 2025 21:18:49 +0100 Subject: [PATCH] Fix syslog format (#14689) --- tasmota/tasmota_support/support.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_support/support.ino b/tasmota/tasmota_support/support.ino index 6a04b6d7a..91e84dd46 100755 --- a/tasmota/tasmota_support/support.ino +++ b/tasmota/tasmota_support/support.ino @@ -2541,7 +2541,7 @@ void SyslogAsync(bool refresh) { subStr(timestamp, line, " ", 1); // 00:00:02.096-026 subStr(timestamp, timestamp, "-", 1); // 00:00:02.096 - snprintf_P(header, sizeof(header), PSTR("<%d>1 %s%s000%s %s tasmota - - -"), + snprintf_P(header, sizeof(header), PSTR("<%d>1 %s%s000%s %s tasmota - - - "), 128 + min(loglevel * 3, 7), // Error (1) = 131, Info (2) = 134, Debug (3) = 135, DebugMore = (4) 135 GetDate().c_str(), timestamp, GetTimeZone().c_str(), // 1970-01-01T00:00:02.096000+01:00 NetworkHostname());