chore: log endpoint as path (#8567)

This commit is contained in:
Matthias Seitz
2024-06-03 19:35:51 +02:00
committed by GitHub
parent 9e611e82a7
commit 0f1bad98f2

View File

@@ -291,8 +291,8 @@ where
let server_config = config.rpc.rpc_server_config();
let launch_rpc = modules.clone().start_server(server_config).map_ok(|handle| {
if let Some(url) = handle.ipc_endpoint() {
info!(target: "reth::cli", url=%url, "RPC IPC server started");
if let Some(path) = handle.ipc_endpoint() {
info!(target: "reth::cli", %path, "RPC IPC server started");
}
if let Some(addr) = handle.http_local_addr() {
info!(target: "reth::cli", url=%addr, "RPC HTTP server started");