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

authz initialization messages should be "info" level #1275

Merged
merged 2 commits into from
Jun 25, 2022
Merged

Conversation

davepacheco
Copy link
Collaborator

The authz subsystem emits a bunch of log messages during startup at the "trace" level. I think they should be "info" level. There's a constant number of them and it's only at startup time so it's not like this should have a big impact on runtime behavior. And they're very helpful for getting the ground truth on what Oso policy and environment is set up, which is helpful for authz debugging.

Note one of these messages dumps out the whole Oso policy, which is huge. Maybe people will find this annoying? But it's part of what's really helpful to have and I think will be helpful in production if we have unexpected authz issues.

@davepacheco davepacheco requested a review from smklein June 24, 2022 18:19
@smklein smklein self-assigned this Jun 24, 2022
@smklein smklein removed their assignment Jun 24, 2022
@davepacheco davepacheco enabled auto-merge (squash) June 24, 2022 20:58
@davepacheco davepacheco merged commit bd2260c into main Jun 25, 2022
@davepacheco davepacheco deleted the authz-log branch June 25, 2022 05:12
leftwo pushed a commit that referenced this pull request Apr 30, 2024
Propolis:
Update oximeter dependency to pull in automatic producer registration (#689)
Propagate ReplaceResult up; return disk status (#687)
Enable clippy warnings for lossless casts
Update rustls deps for CVE-2024-32650
migration: refrain from offering all pages when possible (#682)

Crucible:
DTrace probes for IO on/off the network (#1284)
Update oximeter dep to pull in automatic producer registration (#1279)
Remove `ReadResponse` in favor of `RawReadResponse` (#1212)
Fix typo in DTrace upstairs_info (#1276)
replace needing no work should not be an error (#1275)
Add some DTrace scripts to the package. (#1274)
More Pantry updates for Region replacement (#1269)
Send the correct task count for reconciliations (#1271)
Raw extent cleanup (#1268)
leftwo added a commit that referenced this pull request Apr 30, 2024
Propolis:
Update oximeter dependency to pull in automatic producer registration (#689)
Propagate ReplaceResult up; return disk status (#687)
Enable clippy warnings for lossless casts
Update rustls deps for CVE-2024-32650
migration: refrain from offering all pages when possible (#682)

Crucible:
DTrace probes for IO on/off the network (#1284)
Update oximeter dep to pull in automatic producer registration (#1279)
Remove `ReadResponse` in favor of `RawReadResponse` (#1212)
Fix typo in DTrace upstairs_info (#1276)
replace needing no work should not be an error (#1275)
Add some DTrace scripts to the package. (#1274)
More Pantry updates for Region replacement (#1269)
Send the correct task count for reconciliations (#1271)
Raw extent cleanup (#1268)

---------

Co-authored-by: Alan Hanson <alan@oxide.computer>
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