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

Scoop logging #3417

Merged
merged 3 commits into from
Oct 27, 2023
Merged

Conversation

rebeccacremona
Copy link
Contributor

We are seeing a couple varieties of error go by, capturing with Scoop.

This PR adds special handling for two categories of error, so that we can a) more easily count and track occurrences over time; b) get easier-to-read reports when those errors do happen (saving more verbose logging for anomalies); c) direct them to the 'warning' log instead of the 'error' log, to quiet the stream.

This PR also updates watchdog on the side... turns out this version of Werkzeug requires that tweak for our dev setup to work as expected.

@rebeccacremona rebeccacremona requested a review from a team as a code owner October 27, 2023 17:39
@rebeccacremona rebeccacremona requested review from bensteinberg and removed request for a team October 27, 2023 17:39
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (ee508f6) 68.89% compared to head (3077110) 68.82%.
Report is 5 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3417      +/-   ##
===========================================
- Coverage    68.89%   68.82%   -0.07%     
===========================================
  Files           53       53              
  Lines         7297     7304       +7     
===========================================
  Hits          5027     5027              
- Misses        2270     2277       +7     
Files Coverage Δ
perma_web/perma/celery_tasks.py 47.46% <0.00%> (-0.26%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rebeccacremona rebeccacremona merged commit 2eb544a into harvard-lil:develop Oct 27, 2023
2 checks passed
@rebeccacremona rebeccacremona deleted the scoop-logging branch October 30, 2023 18:41
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