Skip to content
Snippets Groups Projects
Commit 71a2753c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Change debug level

parent 7700439e
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -177,18 +177,19 @@ LOGGING = {
'disable_existing_loggers': False,
'handlers': {
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
},
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': 'log.django',
},
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': 'log.django',
},
},
'loggers': {
'django': {
'handlers': ['console','file'],
'handlers': ['console', 'file'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
},
},
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment