internal/server: log user information at the beginning of each grpc call

This commit is contained in:
Cadey Ratio 2017-10-01 09:10:24 -07:00
parent c2ac2e3055
commit 2f91ff1f5f
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ func (s *Server) getAuth(ctx context.Context, operation, scope string) (context.
tr := trace.New("routed-grpc", operation)
ctx = trace.NewContext(ctx, tr)
ln.Log(ctx, t)
return ctx, t, nil
}