Skip to content

Commit

Permalink
dont include member names in logs, only count
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Jul 7, 2024
1 parent 89df5bf commit 0318bd8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ func doMembers(ctx context.Context, op *Op, conn net.Conn, msg string) {
mlist = append(mlist, k)
}

op.logger.Printf("members=%v, list=%v",
len(op.getMembers()), strings.Join(mlist, ","))

op.logger.Printf("%v member(s) tracked", len(op.getMembers()))
reply := op.buildAckReply(nil)
conn.Write([]byte(reply))
}
Expand Down

0 comments on commit 0318bd8

Please sign in to comment.