Skip to content

Commit 2c9d7b1

Browse files
committed
Fix syslog format (#14689)
1 parent 352d4a4 commit 2c9d7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasmota/tasmota_support/support.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@ void SyslogAsync(bool refresh) {
25412541
subStr(timestamp, line, " ", 1); // 00:00:02.096-026
25422542
subStr(timestamp, timestamp, "-", 1); // 00:00:02.096
25432543

2544-
snprintf_P(header, sizeof(header), PSTR("<%d>1 %s%s000%s %s tasmota - - -"),
2544+
snprintf_P(header, sizeof(header), PSTR("<%d>1 %s%s000%s %s tasmota - - - "),
25452545
128 + min(loglevel * 3, 7), // Error (1) = 131, Info (2) = 134, Debug (3) = 135, DebugMore = (4) 135
25462546
GetDate().c_str(), timestamp, GetTimeZone().c_str(), // 1970-01-01T00:00:02.096000+01:00
25472547
NetworkHostname());

0 commit comments

Comments
 (0)