Browse Source

Update nastaveni logu

remotes/origin/feincms deploy-prod-2015-05-26-14-15-gavento
Tomas Gavenciak 10 years ago
parent
commit
57315766d0
  1. 18
      mamweb/settings_prod.py

18
mamweb/settings_prod.py

@ -31,3 +31,21 @@ DATABASES = {
},
}
import os
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'django': {
'handlers': ['console'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
},
},
}

Loading…
Cancel
Save