#23784: Error reporting docs needs to state clearly that changing logging conf
error emails are not sent out unless configuring it again
--------------------------------------+------------------------------------
Reporter: peterlauri | Owner: nschagen
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.7
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by nschagen):
* status: assigned => closed
* has_patch: 1 => 0
* resolution: => invalid
Comment:
According to django/conf/global_settings.py, LOGGING is an empty
dictionary by default. There is also a DEFAULT_LOGGING in
django/utils/log.py, which is where the default admin emailing behaviour
is defined. DEFAULT_LOGGING and LOGGING are merged and therefore setting
your own LOGGING conf does not break the email to admin feature.
I have tested this by installing a FileHandler in both DEFAULT_LOGGING and
LOGGING and the message was written to both files.
--
Ticket URL: <https://code.djangoproject.com/ticket/23784#comment:9>
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/068.21eee053e6239d995bebc24f0b85691a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.