Skip to content

Commit bb8058b

Browse files
authored
server: move auth log to debug (#1073)
server: move auth log to trace
1 parent 9de3ccc commit bb8058b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

libsql-server/src/auth/user_auth_strategies/disabled.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub struct Disabled {}
55

66
impl UserAuthStrategy for Disabled {
77
fn authenticate(&self, _context: UserAuthContext) -> Result<Authenticated, AuthError> {
8-
tracing::info!("executing disabled auth");
8+
tracing::trace!("executing disabled auth");
99

1010
Ok(Authenticated::Authorized(Authorized {
1111
namespace: None,

libsql-server/src/auth/user_auth_strategies/http_basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub struct HttpBasic {
88

99
impl UserAuthStrategy for HttpBasic {
1010
fn authenticate(&self, context: UserAuthContext) -> Result<Authenticated, AuthError> {
11-
tracing::info!("executing http basic auth");
11+
tracing::trace!("executing http basic auth");
1212

1313
let param = parse_http_auth_header("basic", &context.user_credential)?;
1414

libsql-server/src/auth/user_auth_strategies/jwt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub struct Jwt {
1111

1212
impl UserAuthStrategy for Jwt {
1313
fn authenticate(&self, context: UserAuthContext) -> Result<Authenticated, AuthError> {
14-
tracing::info!("executing jwt auth");
14+
tracing::trace!("executing jwt auth");
1515

1616
let param = parse_http_auth_header("bearer", &context.user_credential)?;
1717

0 commit comments

Comments
 (0)