Remove unnecessary byte spam in trace logs

This commit is contained in:
Tulir Asokan 2023-09-05 00:31:50 +03:00
parent 0ddfd65b8b
commit f6712be804

View file

@ -216,7 +216,7 @@ func (c *Client) readLongPoll(log *zerolog.Logger, rc io.ReadCloser) {
}
accumulatedData = append(accumulatedData, chunk...)
if !json.Valid(accumulatedData) {
log.Trace().Bytes("data", chunk).Msg("Invalid JSON, reading next chunk")
log.Trace().Msg("Invalid JSON, reading next chunk")
continue
}
currentBlock := accumulatedData