logging settings comment blocked in lieu of notif systems

This commit is contained in:
Pratyush Desai 2022-01-08 14:51:06 +05:30
parent 79f6d10d9d
commit 85217e4e9c
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD

View File

@ -163,3 +163,26 @@ REST_FRAMEWORK = {
'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.SessionAuthentication',
] ]
} }
# LOGGING = {
# 'version': 1,
# 'disable_existing_loggers': False,
# 'handlers': {
# 'file': {
# 'level': 'DEBUG',
# 'class': 'logging.FileHandler',
# 'filename': './debug.log',
# },
# 'error_file': {
# 'level': 'ERROR',
# 'class': 'logging.FileHandler',
# 'filename': './error.log',
# },
# },
# 'loggers': {
# 'django': {
# 'handlers': ['file', 'error_file'],
# 'propagate': True,
# },
# },
# }