Skip to content

Commit

Permalink
Log which address server is proxying to
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jun 8, 2024
1 parent 1e04b15 commit 86ebe1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ async function main () {

const address = proxy.address
logger.info(`Public key: ${b4a.toString(address.publicKey, 'hex')}`)
logger.info(`Address: ${address.host}:${address.port}`)
logger.info(`DHT address: ${address.host}:${address.port}`)
logger.info(`Proxying to ${host}:${port}`)
}

function setupLogging (proxy, logger) {
Expand Down

0 comments on commit 86ebe1a

Please sign in to comment.