From c5ce454319a7d54d3967c6ea7695543e943a37b2 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 16 Aug 2024 07:12:33 -0400 Subject: tracing: use fields rather than interpolation --- src/util/windows.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/windows.rs') diff --git a/src/util/windows.rs b/src/util/windows.rs index 8856aed..7003490 100644 --- a/src/util/windows.rs +++ b/src/util/windows.rs @@ -114,13 +114,13 @@ pub unsafe fn get_psql_service( }, other => { - tracing::warn!("unable to identify postgres service: {other} potential matches found"); + tracing::warn!(n_candidates = other, "unable to identify postgres service"); return Ok(None); }, } let svc = psql_services.remove(0); - tracing::debug!("identified postgres service: {}", svc.name); + tracing::debug!(name = %svc.name, "identified postgres service"); Ok(Some(svc)) } -- cgit v1.3.1