diff --git a/services/identity/src/grpc_services/authenticated.rs b/services/identity/src/grpc_services/authenticated.rs --- a/services/identity/src/grpc_services/authenticated.rs +++ b/services/identity/src/grpc_services/authenticated.rs @@ -13,7 +13,7 @@ use chrono::{DateTime, Utc}; use comm_opaque2::grpc::protocol_error_to_grpc_status; use tonic::{Request, Response, Status}; -use tracing::{debug, error, warn}; +use tracing::{debug, error, trace, warn}; use super::protos::auth::{ identity_client_service_server::IdentityClientService, @@ -35,7 +35,7 @@ } fn get_auth_info(req: &Request<()>) -> Option<(String, String, String)> { - debug!("Retrieving auth info for request: {:?}", req); + trace!("Retrieving auth info for request: {:?}", req); let user_id = get_value(req, request_metadata::USER_ID)?; let device_id = get_value(req, request_metadata::DEVICE_ID)?; @@ -48,7 +48,7 @@ req: Request<()>, db_client: &DatabaseClient, ) -> Result, Status> { - debug!("Intercepting request to check auth info: {:?}", req); + trace!("Intercepting request to check auth info: {:?}", req); let (user_id, device_id, access_token) = get_auth_info(&req) .ok_or_else(|| Status::unauthenticated("Missing credentials"))?; diff --git a/services/identity/src/grpc_services/shared.rs b/services/identity/src/grpc_services/shared.rs --- a/services/identity/src/grpc_services/shared.rs +++ b/services/identity/src/grpc_services/shared.rs @@ -1,11 +1,11 @@ use grpc_clients::error::unsupported_version; use tonic::{Request, Status}; -use tracing::debug; +use tracing::trace; use crate::constants::{request_metadata, MIN_SUPPORTED_NATIVE_VERSION}; pub fn version_interceptor(req: Request<()>) -> Result, Status> { - debug!("Intercepting request to check version: {:?}", req); + trace!("Intercepting request to check version: {:?}", req); match get_version_info(&req) { Some((version, platform)) @@ -19,7 +19,7 @@ } fn get_version_info(req: &Request<()>) -> Option<(u64, String)> { - debug!("Retrieving version info for request: {:?}", req); + trace!("Retrieving version info for request: {:?}", req); let code_version: u64 = get_value(req, request_metadata::CODE_VERSION)? .parse()