LOGLEVEL setting

This commit is contained in:
Jenny Danzmayr 2023-11-27 22:46:43 +01:00
parent 78e66ec4c8
commit ca4aa5f7ea

View file

@ -474,7 +474,7 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
SILENCED_SYSTEM_CHECKS = ['debug_toolbar.W006']
loglevel = 'DEBUG' if DEBUG else 'INFO'
loglevel = env.str('C3NAV_LOGLEVEL', default='DEBUG' if DEBUG else 'INFO')
LOGGING = {
'version': 1,