|
@ -33,19 +33,23 @@ DATABASES = { |
|
|
|
|
|
|
|
|
import os |
|
|
import os |
|
|
|
|
|
|
|
|
LOGGING = { |
|
|
SERVER_EMAIL = 'prod-errors@mam.mff.cuni.cz' |
|
|
'version': 1, |
|
|
ADMINS = ['gavento@ucw.cz', ] |
|
|
'disable_existing_loggers': True, |
|
|
|
|
|
'handlers': { |
|
|
# LOGGING = { |
|
|
'console': { |
|
|
# 'version': 1, |
|
|
'class': 'logging.StreamHandler', |
|
|
# 'disable_existing_loggers': True, |
|
|
}, |
|
|
# 'handlers': { |
|
|
}, |
|
|
# 'console': { |
|
|
'loggers': { |
|
|
# 'class': 'logging.StreamHandler', |
|
|
'django': { |
|
|
# }, |
|
|
'handlers': ['console'], |
|
|
# }, |
|
|
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), |
|
|
# 'loggers': { |
|
|
}, |
|
|
# 'django': { |
|
|
}, |
|
|
# 'handlers': ['console'], |
|
|
} |
|
|
# 'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), |
|
|
|
|
|
# }, |
|
|
|
|
|
# }, |
|
|
|
|
|
# } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|