Commit bdb3166c authored by hujiebin's avatar hujiebin

feat:route日志也不要了

parent cfaf256a
......@@ -554,9 +554,9 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC
mylogrus.MyLog.Errorf("Route SYSTEM ACTION PANIC: %v, stack: %v", r, string(debug.Stack()))
}
}()
peerInfo, _ := peer.FromContext(ctx)
mylogrus.MyLog.Infof("Received Route request from %s: msgType = %d, uid = %d, payload size = %d",
peerInfo.Addr.String(), in.GetMsgType(), in.GetUid(), len(in.GetPayLoad()))
//peerInfo, _ := peer.FromContext(ctx)
//mylogrus.MyLog.Infof("Received Route request from %s: msgType = %d, uid = %d, payload size = %d",
// peerInfo.Addr.String(), in.GetMsgType(), in.GetUid(), len(in.GetPayLoad()))
var status uint32 = common.ROUTE_SUCCESS
m := getChans(in.GetUid())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment