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

fix: ML backend logger in docker doesn't show errors #628

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Conversation

makseq
Copy link
Member

@makseq makseq commented Sep 18, 2024

The current logging configuration is overriding Gunicorn's own logging setup. Without proper handling, this can suppress Gunicorn's error messages, including critical ones like ModuleNotFoundError.

"disable_existing_loggers": False: This prevents your logging configuration from disabling loggers that have already been defined by other modules, such as Gunicorn.

@github-actions github-actions bot added the fix label Sep 18, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.19%. Comparing base (f45a92a) to head (f91458a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #628      +/-   ##
==========================================
- Coverage   55.71%   51.19%   -4.52%     
==========================================
  Files          54       43      -11     
  Lines        3660     2967     -693     
==========================================
- Hits         2039     1519     -520     
+ Misses       1621     1448     -173     

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

@makseq makseq merged commit c910e30 into master Sep 19, 2024
21 checks passed
@makseq makseq deleted the fix/logger branch September 19, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants