Skip to content

Instantly share code, notes, and snippets.

@c17r
Created October 26, 2015 19:26
Show Gist options
  • Save c17r/3b941cb3516190c388eb to your computer and use it in GitHub Desktop.
Save c17r/3b941cb3516190c388eb to your computer and use it in GitHub Desktop.
Django: all logging to console
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'django': {
'handlers': ['console'],
'level': 'INFO',
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment