Skip to content

Commit fb97c1a

Browse files
committed
[AST-494] default enable request-id distributed logging interceptor for all grpc services
1 parent 42cb1cf commit fb97c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ public class InterceptorUtil {
1515
*/
1616
public static ServerServiceDefinition wrapInterceptors(BindableService bindableService) {
1717
return ServerInterceptors.intercept(
18-
bindableService, new RequestContextServerInterceptor(), new ThrowableResponseInterceptor());
18+
bindableService, new RequestContextLoggingServerInterceptor(), new ThrowableResponseInterceptor());
1919
}
2020

2121
public static ServerServiceDefinition wrapInterceptors(
2222
ServerServiceDefinition serviceDefinition) {
2323
return ServerInterceptors.intercept(
2424
serviceDefinition,
25-
new RequestContextServerInterceptor(),
25+
new RequestContextLoggingServerInterceptor(),
2626
new ThrowableResponseInterceptor());
2727
}
2828
}

0 commit comments

Comments
 (0)