Skip to content

fix(auth): log failures as warn when enforcement is off so we get them in prod#387

Merged
jan-auer merged 1 commit intomainfrom
matt/fix-auth-failure-loglevel
Mar 19, 2026
Merged

fix(auth): log failures as warn when enforcement is off so we get them in prod#387
jan-auer merged 1 commit intomainfrom
matt/fix-auth-failure-loglevel

Conversation

@matt-codecov
Copy link
Contributor

escalates the log level for auth failures to warn!() when enforcement is disabled.

when enforcement is disabled, the presumption is you are working to enable it. failures are surfaced as warnings so you can fix all outstanding integration issues before enabling. if any clients haven't deployed auth config yet this will be very noisy.

when enforcement is enabled (after a safe rollout), auth failures aren't indicative of a problem with objectstore so they are only logged at debug level.

@matt-codecov matt-codecov requested a review from a team as a code owner March 17, 2026 23:46
@jan-auer jan-auer merged commit a73b5f4 into main Mar 19, 2026
21 checks passed
@jan-auer jan-auer deleted the matt/fix-auth-failure-loglevel branch March 19, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants