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

Tweak logging to improve UX #2205

Closed
10 tasks done
antonymilne opened this issue Jan 16, 2023 · 1 comment
Closed
10 tasks done

Tweak logging to improve UX #2205

antonymilne opened this issue Jan 16, 2023 · 1 comment
Labels
Stage: Technical Design 🎨 Ticket needs to undergo technical design before implementation Type: Parent Issue

Comments

@antonymilne
Copy link
Contributor

antonymilne commented Jan 16, 2023

The milestone Improve the setup of logging is complete! However, there are still a couple of minor issues we should try to resolve before 0.19.

Reminder about how logging works:

  1. LOGGING = _ProjectLogging() is called to set up the framework-side logging configuration given in default_logging.yml
  2. configure_project called by bootstrap_project imports settings.py (so users can currently "unofficially" insert code there e.g. to disable rich tracebacks)
  3. session is created, and project-side logging.yml loads (if it exists) by session._setup_logging
  4. if operating parallel runner with spawned subprocess, configure_logging is called in each subprocess by _bootstrap_subprocess
@merelcht
Copy link
Member

merelcht commented Jul 3, 2023

All tasks have now been completed.

@merelcht merelcht closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stage: Technical Design 🎨 Ticket needs to undergo technical design before implementation Type: Parent Issue
Projects
Archived in project
Development

No branches or pull requests

2 participants