Skip to content

Commit

Permalink
server: move auth log to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioFranco committed Feb 22, 2024
1 parent 9de3ccc commit 8ae9e00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libsql-server/src/auth/user_auth_strategies/disabled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub struct Disabled {}

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

Ok(Authenticated::Authorized(Authorized {
namespace: None,
Expand Down
2 changes: 1 addition & 1 deletion libsql-server/src/auth/user_auth_strategies/http_basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct HttpBasic {

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

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

Expand Down
2 changes: 1 addition & 1 deletion libsql-server/src/auth/user_auth_strategies/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Jwt {

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

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

Expand Down

0 comments on commit 8ae9e00

Please sign in to comment.