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

Add logging how-to guide #6511

Merged
merged 2 commits into from Mar 16, 2024
Merged

Add logging how-to guide #6511

merged 2 commits into from Mar 16, 2024

Conversation

MarcSkovMadsen
Copy link
Collaborator

@MarcSkovMadsen MarcSkovMadsen commented Mar 16, 2024

Logging has been a pain for me for years due to the fact that Bokeh runs basicConfig.

Historically you had to manually loop through all handlers and update them them to get decent logging. With Python 3.9 situation is now better.

Bokeh and Panels existing documentation about logging is also not very helpful for me.

This PR tries to improve the situation. You can preview the guide here

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.08%. Comparing base (ca8cc00) to head (1ad1b56).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6511       +/-   ##
===========================================
- Coverage   82.92%   40.08%   -42.84%     
===========================================
  Files         313      313               
  Lines       45826    45848       +22     
===========================================
- Hits        37999    18379    -19620     
- Misses       7827    27469    +19642     
Flag Coverage Δ
ui-tests 40.08% <ø> (-0.03%) ⬇️
unitexamples-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@philippjfr philippjfr merged commit 31473ad into main Mar 16, 2024
8 of 9 checks passed
@philippjfr philippjfr deleted the enhancement/configure-logging branch March 16, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants