From 48001fc779b3af1fcdd56a8809e3b2b0dab23d34 Mon Sep 17 00:00:00 2001 From: Konrad Kohbrok Date: Mon, 30 Sep 2024 15:07:35 +0200 Subject: [PATCH] add logging (#206) --- backend/src/persistence.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/persistence.rs b/backend/src/persistence.rs index 8cb06552..d62edafc 100644 --- a/backend/src/persistence.rs +++ b/backend/src/persistence.rs @@ -99,6 +99,8 @@ pub trait InfraService: Sized { } let connection_string_with_db = format!("{}/{}", connection_string, db_name); + tracing::info!("Successfully created database {}", db_name); + tracing::info!("Connecting to postgres {}", connection_string_with_db); let db_pool = PgPool::connect(&connection_string_with_db).await?;