Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: change sqlalchemy_oso authorization logs from INFO to DEBUG level #1726

Merged
merged 3 commits into from
Nov 18, 2023

Conversation

kkirsche
Copy link
Contributor

@kkirsche kkirsche commented Oct 3, 2023

This merge request changes the log level of sqlalchemy_oso's authorization logs from INFO to DEBUG. In applications where logging is used, INFO makes for extremely noisy logs, making it hard to use logging more broadly. As this is primarily about authorization decision making, this seems like it can be changed to DEBUG and stay in line with the intent of this use case.

An example log output in an application:

CleanShot 2023-10-03 at 14 18 17

PR checklist:

  • Added changelog entry.

@kkirsche kkirsche changed the title refactor: change authorization logs from INFO to DEBUG level refactor: change sqlalchemy_oso authorization logs from INFO to DEBUG level Oct 3, 2023
Copy link
Member

@gj gj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kkirsche !

@gj gj merged commit 9f07507 into osohq:main Nov 18, 2023
19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants