Skip to content

Commit 69edcb8

Browse files
GuillaumeGomezsyphar
authored andcommitted
Display web server address
1 parent d4bc110 commit 69edcb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/web/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,12 @@ pub fn start_web_server(addr: Option<&str>, context: &dyn Context) -> Result<(),
480480

481481
let axum_addr: SocketAddr = addr.unwrap_or(DEFAULT_BIND).parse()?;
482482

483+
tracing::info!(
484+
"Starting web server on `{}:{}`",
485+
axum_addr.ip(),
486+
axum_addr.port()
487+
);
488+
483489
context.runtime()?.block_on(async {
484490
axum::Server::bind(&axum_addr)
485491
.serve(

0 commit comments

Comments
 (0)