From 8ae9e009109d4c050afc259b564c48aae03a7b04 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Thu, 22 Feb 2024 11:09:04 -0500 Subject: [PATCH] server: move auth log to trace --- libsql-server/src/auth/user_auth_strategies/disabled.rs | 2 +- libsql-server/src/auth/user_auth_strategies/http_basic.rs | 2 +- libsql-server/src/auth/user_auth_strategies/jwt.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsql-server/src/auth/user_auth_strategies/disabled.rs b/libsql-server/src/auth/user_auth_strategies/disabled.rs index f7656f23fe..bc0c5d3dd7 100644 --- a/libsql-server/src/auth/user_auth_strategies/disabled.rs +++ b/libsql-server/src/auth/user_auth_strategies/disabled.rs @@ -5,7 +5,7 @@ pub struct Disabled {} impl UserAuthStrategy for Disabled { fn authenticate(&self, _context: UserAuthContext) -> Result { - tracing::info!("executing disabled auth"); + tracing::trace!("executing disabled auth"); Ok(Authenticated::Authorized(Authorized { namespace: None, diff --git a/libsql-server/src/auth/user_auth_strategies/http_basic.rs b/libsql-server/src/auth/user_auth_strategies/http_basic.rs index 2060969c78..3bd05c750b 100644 --- a/libsql-server/src/auth/user_auth_strategies/http_basic.rs +++ b/libsql-server/src/auth/user_auth_strategies/http_basic.rs @@ -8,7 +8,7 @@ pub struct HttpBasic { impl UserAuthStrategy for HttpBasic { fn authenticate(&self, context: UserAuthContext) -> Result { - tracing::info!("executing http basic auth"); + tracing::trace!("executing http basic auth"); let param = parse_http_auth_header("basic", &context.user_credential)?; diff --git a/libsql-server/src/auth/user_auth_strategies/jwt.rs b/libsql-server/src/auth/user_auth_strategies/jwt.rs index 8f2c6755d4..5e37f26418 100644 --- a/libsql-server/src/auth/user_auth_strategies/jwt.rs +++ b/libsql-server/src/auth/user_auth_strategies/jwt.rs @@ -11,7 +11,7 @@ pub struct Jwt { impl UserAuthStrategy for Jwt { fn authenticate(&self, context: UserAuthContext) -> Result { - tracing::info!("executing jwt auth"); + tracing::trace!("executing jwt auth"); let param = parse_http_auth_header("bearer", &context.user_credential)?;