internal/server: log user information at the beginning of each grpc call
This commit is contained in:
parent
c2ac2e3055
commit
2f91ff1f5f
|
@ -49,6 +49,8 @@ func (s *Server) getAuth(ctx context.Context, operation, scope string) (context.
|
||||||
tr := trace.New("routed-grpc", operation)
|
tr := trace.New("routed-grpc", operation)
|
||||||
ctx = trace.NewContext(ctx, tr)
|
ctx = trace.NewContext(ctx, tr)
|
||||||
|
|
||||||
|
ln.Log(ctx, t)
|
||||||
|
|
||||||
return ctx, t, nil
|
return ctx, t, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue