Site admin changed to using uWsgi to run the Django site (was fastCGI before), and now, we aren't getting any python errors back traces at all in any logs.
Anyone have any idea how to debug a issue like this?
Already have checked nginx's logs, uWsgi's logs (using --logto), and the django application itself logs, and none of them have any python related content in them.
I can see via nginx that we are getting 500 errors, so, obviously, python is crashing someplace...
from the project's settings...
Code:
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'formatters': {
'verbose': {
'format': '[%(asctime)s] %(levelname)s %(pathname)s:%(lineno)s %(message)s'
}
},
'handlers': {
'null': {
'level':'DEBUG',
'class':'django.utils.log.NullHandler',
},
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler',
},
'console':{
'level':'DEBUG',
'class':'logging.StreamHandler',
'formatter': 'verbose',
}
},
'loggers': {
'django.db.backends': {
'handlers': ['null'],
'propagate': False,
},
'django.request': {
'handlers': ['console', 'mail_admins'],
'level': 'ERROR',
'propagate': True,
},
'django': {
'handlers': ['null'],
'level': 'DEBUG',
'propagate': True,
},
'': {
'handlers': ['console'],
'level': 'DEBUG',
'propagate': True,
},
}
}