about summary refs log tree commit diff
path: root/src/frontend/mod.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-12-30 21:56:13 +0300
committerVika <vika@fireburn.ru>2024-12-30 21:56:13 +0300
commit6eac009de7e01eaf62f5d0138e990e1e06e470b7 (patch)
tree1f6f42fd78df8f92730732c65f2913b9c1f7f58b /src/frontend/mod.rs
parentca76b67e985583ebc4276d6dce9dc74fde3af3bc (diff)
downloadkittybox-6eac009de7e01eaf62f5d0138e990e1e06e470b7.tar.zst
decrease logspam from filter_post spans
Change-Id: Ibecb139196711eb045460739435af5dbcf258024
Diffstat (limited to 'src/frontend/mod.rs')
-rw-r--r--src/frontend/mod.rs2
1 files changed, 1 insertions, 1 deletions
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>,