Log resolved port when starting `s3s-fs` with `--port 0`
amunra opened this issue · comments
Adam Cimarosti commented
I'm beginning to use the s3s-fs
server for dev-testing in my project as a child process.
To avoid port collisions, I'd like to start it on port 0 (i.e. the "any" port).
I also set export RUST_LOG="s3s=info,s3s_fs=info"
before starting the process.
It would be nice if I could then parse the server is running at http://localhost:NNNN
log line to extract the actual resolved TCP port it's listening on.