Skip to content

Commit

Permalink
CARL -> Log when server is listening.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfm committed Jan 29, 2025
1 parent 2a3b49d commit 376a6e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opendut-carl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand All @@ -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?;
Expand Down

0 comments on commit 376a6e3

Please sign in to comment.