diff --git a/src/route/contact/mod.rs b/src/route/contact/mod.rs index 662314c..0f331ad 100644 --- a/src/route/contact/mod.rs +++ b/src/route/contact/mod.rs @@ -182,9 +182,10 @@ impl ContactApi { Ok(()) => { tracing::event!( target: "backend::contact", - tracing::Level::INFO, "Message from \"{} <{}>\" sent successfully", - body.name, - body.email + tracing::Level::INFO, + name = %body.name, + email = %body.email, + "Contact form message sent successfully" ); ContactApiResponse::Ok(ContactResponse::success().into()) }