From c3dfb4104205c40343fadef7466643f95e1c3ef7 Mon Sep 17 00:00:00 2001 From: Max Countryman Date: Mon, 8 Aug 2022 07:21:43 -0700 Subject: [PATCH] remove additional tracing for now --- src/session.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/session.rs b/src/session.rs index f875c41..12a2c27 100644 --- a/src/session.rs +++ b/src/session.rs @@ -321,6 +321,7 @@ where } else if session_layer.save_unchanged || session_data_changed { match session_layer.store.store_session(session).await { Ok(Some(cookie_value)) => { + tracing::debug!("Cookie value found. Appending set cookie headers."); let cookie = session_layer.build_cookie(session_layer.secure, cookie_value); response.headers_mut().insert( SET_COOKIE, @@ -328,9 +329,7 @@ where ); } - Ok(None) => { - tracing::warn!("The cookie value is missing; no cookie will be set!"); - } + Ok(None) => {} Err(e) => { tracing::error!("Failed to reach session storage: {:?}", e);