From 2f91ff1f5f0f2b613688b93f73d270447e4242af Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 1 Oct 2017 09:10:24 -0700 Subject: [PATCH] internal/server: log user information at the beginning of each grpc call --- internal/server/common.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/server/common.go b/internal/server/common.go index faab359..e7b79a9 100644 --- a/internal/server/common.go +++ b/internal/server/common.go @@ -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 }