Skip to content

Commit

Permalink
Remove log info from peerbook
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-o committed Oct 3, 2024
1 parent 1cbee55 commit 6fba583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lambda_ethereum_consensus/p2p/peerbook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule LambdaEthereumConsensus.P2P.Peerbook do
:ok

score when score - @penalizing_score <= 0 ->
Logger.info("[Peerbook] Removing peer: #{inspect(Utils.format_shorten_binary(peer_id))}")
Logger.debug("[Peerbook] Removing peer: #{inspect(Utils.format_shorten_binary(peer_id))}")

fetch_peerbook!()
|> Map.delete(peer_id)
Expand All @@ -85,7 +85,7 @@ defmodule LambdaEthereumConsensus.P2P.Peerbook do
def handle_new_peer(peer_id) do
peerbook = fetch_peerbook!()

Logger.info(
Logger.debug(
"[Peerbook] New peer connected: #{inspect(Utils.format_shorten_binary(peer_id))}"
)

Expand Down

0 comments on commit 6fba583

Please sign in to comment.