Skip to content

Commit

Permalink
add logging (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkohbrok authored Sep 30, 2024
1 parent 6d53ba9 commit 48001fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;

Expand Down

0 comments on commit 48001fc

Please sign in to comment.