Open wrohdewald opened 11 months ago
I forgot - the system time is also redundant
log:
format: text # or json
That is a functioning workaround, thank you.
I did actually not even try to find a workaround because IMHO it should not be necessary, those ESC sequences are only meant for terminals and should never go into log files no matter what settings the user defines. So far I only know about one single project doing that - and the fixed it a long time ago.
I do not know go, but in internal/app/log.go I see:
NoColor: format == "text"
How about something like
NoColor: output is streaming into file or maybe NoColor: writer is SyslogWriter
but then I do not see SyslogWriter in the source code and I have no idea under which circumstance syslog is written to.
go2rtc 1.8.4 on raspbian bullseye
From /var/log/syslog: