So am am ready to deploy using apache/modwsgi. However I noticed that
I am not getting emailed 500 errors.
In my settings file I have:
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler'
}
},
'loggers': {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True,
},
}
}
ADMINS = (
# ('Jim Zlogar', '[email protected]'),
)
EMAIL_HOST='localhost'
EMAIL_PORT=25
MANAGERS = ADMINS
DEBUG = False
However, the errors are not emailed, but only show up in .
send_mail('Subject here', 'Here is the message.',
'[email protected]', ['[email protected]'], fail_silently=False) send
ok and shows up in the logs, however
"logging.error('test') does not send any emails under manage.py
shell.
Frankly, I am lost on where even to look. I can't find any errors.
The smtp server shows no attempts to send email.
Any ideas on what is wrong or where to look?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.