Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #136 from prisma/change-connection-pool-message
Browse files Browse the repository at this point in the history
Change phrasing of log message regarding connection count
  • Loading branch information
tomhoule authored May 26, 2020
2 parents e6d1207 + 0888fab commit fc508c4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pooled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,18 @@ impl Builder {

#[cfg(not(feature = "tracing-log"))]
{
info!("Starting a {} pool with {} connections.", family, self.connection_limit);
info!(
"Starting a {} pool with up to {} connections.",
family, self.connection_limit
);
}
#[cfg(feature = "tracing-log")]
{
tracing::info!("Starting a {} pool with {} connections.", family, self.connection_limit);
tracing::info!(
"Starting a {} pool with up to {} connections.",
family,
self.connection_limit
);
}

let inner = Pool::builder()
Expand Down

0 comments on commit fc508c4

Please sign in to comment.