From e2dc7d56547fdf8a30d74a1a7ce808023bafe140 Mon Sep 17 00:00:00 2001 From: ITQ Date: Mon, 27 Oct 2025 22:36:09 +0300 Subject: [PATCH] chore: small improvements in logging --- internal/interceptor/logger.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/interceptor/logger.go b/internal/interceptor/logger.go index 16450af..ad105b4 100644 --- a/internal/interceptor/logger.go +++ b/internal/interceptor/logger.go @@ -25,7 +25,6 @@ func (i *LoggerInterceptor) Unary() grpc.UnaryServerInterceptor { start := time.Now() log.Printf("gRPC method %s called", info.FullMethod) - log.Printf("Request: %+v", req) resp, err := handler(ctx, req) @@ -39,7 +38,6 @@ func (i *LoggerInterceptor) Unary() grpc.UnaryServerInterceptor { log.Printf("Error: %v, Duration: %v", err, duration) } } else { - log.Printf("Response: %+v", resp) log.Printf("Method %s completed in %v", info.FullMethod, duration) }