We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc69afa commit fd567e2Copy full SHA for fd567e2
crates/outbound-pg/src/lib.rs
@@ -242,7 +242,7 @@ impl OutboundPg {
242
async fn build_client(address: &str) -> anyhow::Result<Client> {
243
let config = address.parse::<tokio_postgres::Config>()?;
244
245
- tracing::log::debug!("Build new connection: {}", address);
+ tracing::debug!("Build new connection: {}", address);
246
247
if config.get_ssl_mode() == SslMode::Disable {
248
connect(config).await
@@ -275,7 +275,7 @@ where
275
{
276
tokio::spawn(async move {
277
if let Err(e) = connection.await {
278
- tracing::warn!("Postgres connection error: {}", e);
+ tracing::error!("Postgres connection error: {}", e);
279
}
280
});
281
0 commit comments