-
Notifications
You must be signed in to change notification settings - Fork 74
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
Modify Logging Levels for Read-only actions #5647
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
fides Run #11644
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5647/merge
|
Run status |
Failed #11644
|
Run duration | 01m 04s |
Commit |
7694704cf1 ℹ️: Merge b297e65d43395537342bcdb18375228fe53a3b04 into 0214492076a42c0e4a497c5dd2ed...
|
Committer | Robert Keyser |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
1
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
3
|
View all changes introduced in this branch ↗︎ |
Tests for review
cypress/e2e/smoke_test.cy.ts • 1 failed test
Test | Artifacts | |
---|---|---|
Smoke test > can access Mongo and Postgres connectors from the Admin UI |
Screenshots
Video
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good, thanks @RobertKeyser !
fides Run #11643
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #11643
|
Run duration | 00m 59s |
Commit |
22c05f2f32: Modify Logging Levels for Read-only actions (#5647)
|
Committer | Robert Keyser |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
View all changes introduced in this branch ↗︎ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5647 +/- ##
=======================================
Coverage 87.14% 87.14%
=======================================
Files 388 388
Lines 24000 24000
Branches 2594 2594
=======================================
Hits 20914 20914
Misses 2525 2525
Partials 561 561 ☔ View full report in Codecov by Sentry. |
Description Of Changes
I don't find much value in logging messages like
Finding all datasets for connection '{}' with pagination params {}
in a production setting, when the HTTP logs cover almost the same information.This PR converts all of those messages that are spawned from a read-type action (so not creates/updates/deletes) to a
debug
level. While they aren't hugely problematic, it will help our logs stay a bit cleaner.IMO we're not really losing too much here, because when HTTP logs are logged with context, I don't need a second message telling me that it's doing what it should be doing. I did, however, keep those
finding xyz
logs on PUTs and DELETEs, etc to help show progress for those actions.Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works