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

Commit

Permalink
Change phrasing of log message regarding connection count
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhoule committed May 26, 2020
1 parent e6d1207 commit ab4168c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pooled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,17 @@ 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);
info!(
"Starting a {} pool with up to {} connections.",
family, self.connection_limit
);
}

let inner = Pool::builder()
Expand Down

0 comments on commit ab4168c

Please sign in to comment.