Skip to content

Commit

Permalink
logs as trace
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Nov 11, 2024
1 parent b051893 commit dd7daca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions management/server/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (am *DefaultAccountManager) updatePeerStatusAndLocation(ctx context.Context

account.UpdatePeer(peer)

log.WithContext(ctx).Debugf("saving peer status for peer %s is connected: %t", peer.ID, connected)
log.WithContext(ctx).Tracef("saving peer status for peer %s is connected: %t", peer.ID, connected)

err := am.Store.SavePeerStatus(account.Id, peer.ID, *newStatus)
if err != nil {
Expand Down Expand Up @@ -656,7 +656,7 @@ func (am *DefaultAccountManager) SyncPeer(ctx context.Context, sync PeerSync, ac

updated := peer.UpdateMetaIfNew(sync.Meta)
if updated {
log.WithContext(ctx).Debugf("peer %s metadata updated", peer.ID)
log.WithContext(ctx).Tracef("peer %s metadata updated", peer.ID)
err = am.Store.SavePeer(ctx, account.Id, peer)
if err != nil {
return nil, nil, nil, err
Expand Down

0 comments on commit dd7daca

Please sign in to comment.