Improve auto logging to enable logging to all apps, even those not calling the ready() method.

This commit is contained in:
Roberto Rosario
2015-09-21 03:44:20 -04:00
parent ba841c10f8
commit 79823ec531
2 changed files with 36 additions and 29 deletions

View File

@@ -212,23 +212,6 @@ COMPRESS_CSS_FILTERS = (
COMPRESS_ENABLED = False
COMPRESS_PARSER = 'compressor.parser.HtmlParser'
# --------- Django -------------------
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'formatters': {
'intermediate': {
'format': '%(name)s <%(process)d> [%(levelname)s] "%(funcName)s() %(message)s"'
},
},
'handlers': {
'console': {
'level': 'DEBUG',
'class': 'logging.StreamHandler',
'formatter': 'intermediate'
}
},
'loggers': {}
}
LOGIN_URL = 'authentication:login_view'
LOGIN_REDIRECT_URL = 'common:home'
INTERNAL_IPS = ('127.0.0.1',)