Skip to content

Commit

Permalink
Merge pull request #2 from HDegroote/log-server-proxy-address
Browse files Browse the repository at this point in the history
Log which address server is proxying to
  • Loading branch information
HDegroote committed Jun 8, 2024
2 parents 1e04b15 + 86ebe1a commit 855af66
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 855af66

Please sign in to comment.