Skip to content

Commit

Permalink
Raise the log level for peer disconnection from (0LNetworkCommunity#925)
Browse files Browse the repository at this point in the history
info to error
  • Loading branch information
zmanian authored Dec 26, 2021
1 parent 2d67388 commit b51ce2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/src/protocols/health_checker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ impl HealthChecker {
// ConnectivityManager or the remote peer to re-establish the connection.
*failures += 1;
if *failures > self.ping_failures_tolerated {
info!(
error!(
NetworkSchema::new(&self.network_context).remote_peer(&peer_id),
"{} Disconnecting from peer: {}",
self.network_context,
Expand Down

0 comments on commit b51ce2c

Please sign in to comment.