Skip to content

Commit 0107299

Browse files
committed
chore(api): change event level from info to debug for principal cache hit
1 parent f28957f commit 0107299

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/synd_api/src/serve/auth.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Authenticator {
4848
match (split.next(), split.next()) {
4949
(Some("github"), Some(access_token)) => {
5050
if let Some(principal) = self.cache.get(token).await {
51-
tracing::info!("Principal cache hit");
51+
tracing::debug!("Principal cache hit");
5252
return Ok(principal);
5353
}
5454

@@ -68,7 +68,7 @@ impl Authenticator {
6868
}
6969
(Some("google"), Some(id_token)) => {
7070
if let Some(principal) = self.cache.get(id_token).await {
71-
tracing::info!("Principal cache hit");
71+
tracing::debug!("Principal cache hit");
7272
return Ok(principal);
7373
}
7474

0 commit comments

Comments
 (0)