Skip to content

Commit

Permalink
rpc: add back rpc logger (paritytech#4952)
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
2 people authored and jpserrat committed Jul 18, 2024
1 parent 1777a55 commit 89fec45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions substrate/client/rpc-servers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ where
),
};

let rpc_middleware =
RpcServiceBuilder::new().option_layer(middleware_layer.clone());
let rpc_middleware = RpcServiceBuilder::new()
.rpc_logger(1024)
.option_layer(middleware_layer.clone());
let mut svc =
service_builder.set_rpc_middleware(rpc_middleware).build(methods, stop_handle);

Expand Down

0 comments on commit 89fec45

Please sign in to comment.