From 376a6e34887a3e26a0a701e58a0f401a1fb86ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=A4rkle?= Date: Wed, 29 Jan 2025 14:18:39 +0100 Subject: [PATCH] CARL -> Log when server is listening. --- opendut-carl/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opendut-carl/src/lib.rs b/opendut-carl/src/lib.rs index 03ff1831..25d192df 100644 --- a/opendut-carl/src/lib.rs +++ b/opendut-carl/src/lib.rs @@ -153,6 +153,7 @@ pub async fn create(settings: LoadedConfig) -> anyhow::Result<()> { match TlsConfig::load(&settings).await? { TlsConfig::Enabled(tls_config) => { + info!("Server listening at {address}..."); axum_server::bind_rustls(address, tls_config) .serve(Shared::new(http_grpc)) .await?; @@ -161,6 +162,7 @@ pub async fn create(settings: LoadedConfig) -> anyhow::Result<()> { // Disable TLS in case a load balancer with TLS termination is present debug!("TLS is disabled in the configuration."); + info!("Server listening at {address}..."); axum_server::bind(address) .serve(Shared::new(http_grpc)) .await?;