Created
December 20, 2022 19:22
-
-
Save morenoh149/e986d5a989c180a1efceb2b94fed1ae3 to your computer and use it in GitHub Desktop.
django logger propage traceback in 500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': False, | |
'formatters': { | |
'verbose': { | |
'format': '{levelname} {asctime} {module} {process:d} {thread:d} {message}', | |
'style': '{', | |
}, | |
}, | |
'handlers': { | |
'console': { | |
'class': 'logging.StreamHandler', | |
}, | |
}, | |
'loggers': { | |
'api': { | |
'handlers': ['console'], | |
'level': 'WARNING', | |
'propagate': False, | |
}, | |
}, | |
'root': { | |
'handlers': ['console'], | |
'level': 'WARNING', | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment