Skip to content

Commit

Permalink
additional gossip logging (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing authored Sep 22, 2023
1 parent 1b0fbbb commit 39a8044
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Proto.Cluster/Gossip/Gossip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public ImmutableList<GossipUpdate> ReceiveState(GossipState remoteState)
if (_gossipDebugLogging)
{
Logger.LogInformation("ReceiveState: Gossip updates {Updates}", updates);
Logger.LogInformation("ReceiveState: Old Gossip state {State}", _state);
Logger.LogInformation("ReceiveState: New Gossip state {State}", newState);
Logger.LogInformation("ReceiveState: Updated Keys {Keys}", updatedKeys);
}

_state = newState;
Expand Down

0 comments on commit 39a8044

Please sign in to comment.