aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/client/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc/src/client/mod.rs')
-rw-r--r--jsonrpc/src/client/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/jsonrpc/src/client/mod.rs b/jsonrpc/src/client/mod.rs
index 51f0233..43ce5fc 100644
--- a/jsonrpc/src/client/mod.rs
+++ b/jsonrpc/src/client/mod.rs
@@ -11,7 +11,7 @@ use std::{
};
use async_channel::{Receiver, Sender};
-use log::{debug, error};
+use log::{debug, error, info};
use serde::{de::DeserializeOwned, Deserialize, Serialize};
use serde_json::json;
@@ -191,6 +191,10 @@ impl Client {
});
let conn = client.connect().await?;
+ info!(
+ "Successfully connected to the RPC server: {}",
+ conn.peer_endpoint()?
+ );
client.start_background_loop(conn);
Ok(client)
}