aboutsummaryrefslogtreecommitdiff
path: root/src/util/windows.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-16 07:12:33 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-16 07:12:33 -0400
commitc5ce454319a7d54d3967c6ea7695543e943a37b2 (patch)
tree193a6907bc3a476f18774558ca52a3cb7618f912 /src/util/windows.rs
parent5a2dc4070c1d14f22a7671c6f82ca2f4578369bd (diff)
tracing: use fields rather than interpolation
Diffstat (limited to 'src/util/windows.rs')
-rw-r--r--src/util/windows.rs4
1 files changed, 2 insertions, 2 deletions
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))
}