mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-17 17:50:14 +08:00
log update
This commit is contained in:
parent
19f3a9e077
commit
37999fe322
@ -20,7 +20,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac
|
||||
if ctx == nil {
|
||||
return errs.ErrInternalServer.Wrap("call rpc request context is nil")
|
||||
}
|
||||
log.ZInfo(ctx, "rpc client req", "req", "funcName", method, rpcString(req))
|
||||
log.ZInfo(ctx, "rpc client req", "funcName", method, "req", rpcString(req))
|
||||
operationID, ok := ctx.Value(constant.OperationID).(string)
|
||||
if !ok {
|
||||
log.ZWarn(ctx, "ctx missing operationID", errors.New("ctx missing operationID"), "funcName", method)
|
||||
|
Loading…
x
Reference in New Issue
Block a user