log.Logger, the wrapper type that http.Server.ErrorLog uses will append a newline to every line before calling Write on the inner logger if the line doesn't already contain one. This breaks our checksum generation/ verification code because syslog will strip newlines. So that we don't generate irreproducible checksums we strip the newline that log.Logger added. Fixes #4812 |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||