From 05adf9e10c934f7ab863185b1e2a37d3205e7888 Mon Sep 17 00:00:00 2001 From: Gospodin Bodurov <gospodin@bodurov.net> Date: Fri, 24 May 2019 13:11:19 +0300 Subject: [PATCH] Remove repeating log --- server/server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/server.go b/server/server.go index 0bd5ab7..8c00656 100644 --- a/server/server.go +++ b/server/server.go @@ -84,8 +84,6 @@ func authenticateClient(ctx context.Context, s *handler.KeyStorageServerImpl, in } } - log.Printf("authenticated uuid: %s", clientAuth.Uuid) - return clientAuth.Uuid, nil } return "", fmt.Errorf("missing credentials") @@ -94,7 +92,6 @@ func authenticateClient(ctx context.Context, s *handler.KeyStorageServerImpl, in // unaryInterceptor call authenticateClient with current context func unaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler1 grpc.UnaryHandler) (interface{}, error) { s, ok := info.Server.(*handler.KeyStorageServerImpl) - log.Println("Invoked method: " + info.FullMethod) if !ok { return nil, fmt.Errorf("unable to cast server") } -- GitLab