mirror of https://bitbucket.org/ausocean/av.git
Merged in revid-log-debug-message-upon-ring-timeout (pull request #151)
Only log a debug message when ring.ErrTimeout occurs, not a warning. Approved-by: Saxon Milton <saxon.milton@gmail.com> Approved-by: kortschak <dan@kortschak.io> Approved-by: Alan Noble <anoble@gmail.com>
This commit is contained in:
commit
4919c972c6
|
@ -515,7 +515,7 @@ loop:
|
|||
case nil:
|
||||
// Do nothing.
|
||||
case ring.ErrTimeout:
|
||||
r.config.Logger.Log(logger.Warning, pkg+"ring buffer read timeout")
|
||||
r.config.Logger.Log(logger.Debug, pkg+"ring buffer read timeout")
|
||||
continue
|
||||
default:
|
||||
r.config.Logger.Log(logger.Error, pkg+"unexpected error", "error", err.Error())
|
||||
|
|
Loading…
Reference in New Issue