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) }