Skip to content

Commit

Permalink
downgrade logger
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeless committed Nov 16, 2020
1 parent 90034de commit b781f1b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions rpc/ws/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,12 @@ func (c *Client) handleMessage(message []byte) {
func (c *Client) handleNewSubscriptionMessage(requestID, subID uint64) {
c.lock.Lock()
defer c.lock.Unlock()

zlog.Info("received new subscription message",
zap.Uint64("message_id", requestID),
zap.Uint64("subscription_id", subID),
)
if traceEnabled {
zlog.Debug("received new subscription message",
zap.Uint64("message_id", requestID),
zap.Uint64("subscription_id", subID),
)
}
callBack, found := c.subscriptionByRequestID[requestID]
if !found {
zlog.Error("cannot find websocket message handler for a new stream.... this should not happen",
Expand Down

0 comments on commit b781f1b

Please sign in to comment.