From 6eac009de7e01eaf62f5d0138e990e1e06e470b7 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 30 Dec 2024 21:56:13 +0300 Subject: decrease logspam from filter_post spans Change-Id: Ibecb139196711eb045460739435af5dbcf258024 --- src/frontend/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index 7ddad07..9abbcf1 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -84,7 +84,7 @@ impl std::fmt::Display for FrontendError { /// Anonymous users cannot view private posts and protected locations; /// Logged-in users can only view private posts targeted at them; /// Logged-in users can't view private location data -#[tracing::instrument(skip(post), fields(post = %post))] +#[tracing::instrument(skip(post), fields(post = %post["properties"]["uid"][0]))] pub fn filter_post( mut post: serde_json::Value, user: Option<&url::Url>, -- cgit 1.4.1