diff --git a/perf/impl/js-libp2p/next/tcp/dist/src/index.js b/perf/impl/js-libp2p/next/tcp/dist/src/index.js index d63bdbd70..8cdba550e 100644 --- a/perf/impl/js-libp2p/next/tcp/dist/src/index.js +++ b/perf/impl/js-libp2p/next/tcp/dist/src/index.js @@ -125,7 +125,7 @@ class TCP { ...options }); const cOptsStr = cOpts.path ?? `${cOpts.host ?? ''}:${cOpts.port}`; - this.log('dialing %j', cOpts); + this.log('dialing %o', cOpts); const rawSocket = net.connect(cOpts); const onError = (err) => { err.message = `connection error ${cOptsStr}: ${err.message}`; @@ -140,12 +140,12 @@ class TCP { rawSocket.emit('error', err); }; const onConnect = () => { - this.log('connection opened %j', cOpts); + this.log('connection opened %o', cOpts); this.metrics?.dialerEvents.increment({ connect: true }); done(); }; const onAbort = () => { - this.log('connection aborted %j', cOpts); + this.log('connection aborted %o', cOpts); this.metrics?.dialerEvents.increment({ abort: true }); rawSocket.destroy(); done(new AbortError());