nickjj / nickjj/docker-django-example

Add `LOG_LEVEL` env var?

Open
#41 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.5k
Forks
475
PR merge metrics
No merged PRs in 30d

Description

Really enjoying the quality of this, I was wondering if it'd be handy to have a LOG_LEVEL env var (detached from DEBUG) that would allow Django to output logs when running with gunicorn in production.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the existing DEBUG setting is read and how Django logging is configured for gunicorn in production. Define the expected LOG_LEVEL behavior separately from DEBUG, then verify that production logs honor the setting without changing DEBUG behavior; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, docker, python
Domain
backend, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.