diff --git a/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java b/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java index a3cb43c..e4e861f 100644 --- a/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java +++ b/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java @@ -15,14 +15,16 @@ public class InterceptorUtil { */ public static ServerServiceDefinition wrapInterceptors(BindableService bindableService) { return ServerInterceptors.intercept( - bindableService, new RequestContextServerInterceptor(), new ThrowableResponseInterceptor()); + bindableService, + new RequestContextLoggingServerInterceptor(), + new ThrowableResponseInterceptor()); } public static ServerServiceDefinition wrapInterceptors( ServerServiceDefinition serviceDefinition) { return ServerInterceptors.intercept( serviceDefinition, - new RequestContextServerInterceptor(), + new RequestContextLoggingServerInterceptor(), new ThrowableResponseInterceptor()); } }