Skip to content

Commit 1f025c7

Browse files
authored
Merge pull request #153 from ncw/fix-no-handler-log
Lower 'No handler' log from Error to Debug for unsupported RPCs
2 parents 209a01f + 1fbc928 commit 1f025c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (c *conn) serializeWrites(ctx context.Context) {
116116
func (c *conn) handle(ctx context.Context, w *response) error {
117117
handler := c.Server.handlerFor(w.req.Header.Prog, w.req.Header.Proc)
118118
if handler == nil {
119-
Log.Errorf("No handler for %d.%d", w.req.Header.Prog, w.req.Header.Proc)
119+
Log.Debugf("No handler for %d.%d", w.req.Header.Prog, w.req.Header.Proc)
120120
if err := w.drain(ctx); err != nil {
121121
return err
122122
}

0 commit comments

Comments
 (0)