updated code

master
VARUN 2 weeks ago
parent b3888b8ad7
commit 9e356e51be

@ -154,3 +154,23 @@ EMAIL_HOST_PASSWORD = 'grdwevagtfmfqosb'
TIME_ZONE = 'Asia/Kolkata'
USE_TZ = True
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'ERROR',
'class': 'logging.FileHandler',
'filename': '/path/to/your/logs/django.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': True,
},
},
}
Loading…
Cancel
Save