Skip to content

Instantly share code, notes, and snippets.

@c17r
Created October 26, 2015 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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