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

Handler not configured when configuration set in django settings.py #23

Closed
quinnmil opened this issue Jan 22, 2025 · 0 comments · Fixed by #24
Closed

Handler not configured when configuration set in django settings.py #23

quinnmil opened this issue Jan 22, 2025 · 0 comments · Fixed by #24

Comments

@quinnmil
Copy link
Contributor

When required configuration (specifically: logs_ingest_key) is set only in the Django settings.py, the handle will not be able to configure, raising

ValueError: SCOUT_LOGS_INGEST_KEY is not set

This is possibly due to django/python attempting to setup the logging handlers before the setings.py configuration is loaded into the scout_apm.core.config module.

@quinnmil quinnmil linked a pull request Jan 23, 2025 that will close this issue
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 a pull request may close this issue.

1 participant