From d0adf89e5c58aba1711d4a7bcecdbdb4ac3b1ddc Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 24 Oct 2024 13:18:24 +0200
Subject: [PATCH] OZG-6668 add logging for testing

---
 internal/server/grpc_router.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/internal/server/grpc_router.go b/internal/server/grpc_router.go
index 359f0c8..8cebb63 100644
--- a/internal/server/grpc_router.go
+++ b/internal/server/grpc_router.go
@@ -60,6 +60,7 @@ func (s *collaborationRouter) FindVorgang(ctx context.Context, in *pb.GrpcFindVo
 }
 
 func (s *collaborationRouter) handleRequest(ctx context.Context, handler func(pb.CollaborationServiceClient, context.Context) (interface{}, error)) (interface{}, error) {
+	logger.Info(fmt.Sprintf("setting grpc headers %s: %s", keyClientName, clientName))
 	ctx = metadata.AppendToOutgoingContext(ctx, keyClientName, clientName)
 	md, ok := metadata.FromIncomingContext(ctx)
 	if !ok {
-- 
GitLab