#26228: 500 Exceptions not logged if firewall blocks outgoing SMTP
---------------------------------+---------------------
Reporter: ryanfox | Owner:
Type: Bug | Status: new
Component: Error reporting | Version: 1.9
Severity: Normal | Keywords: logging
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+---------------------
I have Gunicorn/Django running on a server behind a firewall. I have
logging set to go to a file as well as emailing the admins. The SMTP
server is not local.
Apparently, if the firewall blocks outgoing SMTP connections, Gunicorn
sees the worker time out and kills it. Nothing is written to the local
logs.
Is there a way to specify the order of log handlers, or possibly just
require the ones requiring a remote connection go last?
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/26228>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.a8d70d0a62816a487d55663eebb48033%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.