Skip to content

Commit

Permalink
feat: log peer id for quic startup
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed Jul 22, 2024
1 parent 207f808 commit bca6778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport/common/pconn/pconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (t *Transport) GetPeerID() peer.ID {
func (t *Transport) Execute(ctx context.Context) error {
t.le.
WithField("local-addr", t.LocalAddr().String()).
WithField("peer-id", t.peerID.String()).
Info("starting to listen with quic + tls")
// Configure TLS to allow any incoming remote peer.
tlsConf := transport_quic.BuildIncomingTlsConf(t.Transport.GetIdentity(), "")
Expand Down

0 comments on commit bca6778

Please sign in to comment.