-
-
Notifications
You must be signed in to change notification settings - Fork 270
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 LOG_LEVEL
env var?
#41
Comments
Thanks. Gunicorn is also used in development. There's a Gunicorn |
Just realized what I was really referring to is having Django log level be controlled by an environment variable. |
Django has different log levels for different components of its framework. For example here's the default logging settings: https://docs.djangoproject.com/en/5.0/ref/logging/#default-logging-configuration We would have to override those and reference an env variable. Likely the |
Really enjoying the quality of this, I was wondering if it'd be handy to have a
LOG_LEVEL
env var (detached fromDEBUG
) that would allow Django to output logs when running with gunicorn in production.The text was updated successfully, but these errors were encountered: