Skip to content

Commit

Permalink
Allow configuring django log level
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbob authored and jchristgit committed Dec 16, 2023
1 parent c25a860 commit 376dae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@
"django.request": {
"handlers": ["console"],
"propagate": False,
"level": "DEBUG",
"level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"),
},
"core.handlers": {"level": "DEBUG", "handlers": ["console"]},
"core.handlers": {"level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"), "handlers": ["console"]},
},
}

Expand Down

0 comments on commit 376dae2

Please sign in to comment.