From 32f5a0670f3d53ebc92115c1a50db076349bc122 Mon Sep 17 00:00:00 2001 From: asonix Date: Tue, 1 Nov 2022 16:50:23 -0500 Subject: [PATCH] Keep a couple more fields out of logs --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/routes/inbox.rs | 2 +- src/routes/media.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5298043..3503a02 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,7 +279,7 @@ checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" [[package]] name = "ap-relay" -version = "0.3.26" +version = "0.3.27" dependencies = [ "activitystreams", "activitystreams-ext", diff --git a/Cargo.toml b/Cargo.toml index a92c301..c6913dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ap-relay" description = "A simple activitypub relay" -version = "0.3.26" +version = "0.3.27" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/src/routes/inbox.rs b/src/routes/inbox.rs index b3f151e..3917b84 100644 --- a/src/routes/inbox.rs +++ b/src/routes/inbox.rs @@ -17,7 +17,7 @@ use actix_web::{web, HttpResponse}; use http_signature_normalization_actix::prelude::{DigestVerified, SignatureVerified}; use tracing::error; -#[tracing::instrument(name = "Inbox", skip(config, state))] +#[tracing::instrument(name = "Inbox", skip(actors, client, jobs, config, state))] pub(crate) async fn route( state: web::Data, actors: web::Data, diff --git a/src/routes/media.rs b/src/routes/media.rs index 5867ce9..d0d86c1 100644 --- a/src/routes/media.rs +++ b/src/routes/media.rs @@ -5,7 +5,7 @@ use actix_web::{ }; use uuid::Uuid; -#[tracing::instrument(name = "Media")] +#[tracing::instrument(name = "Media", skip(media, requests))] pub(crate) async fn route( media: web::Data, requests: web::Data,