To disable this behavior, just remove all entries from the :setting:`ADMINS`
+ Server error e-mails are sent using the logging framework, so you can
+ customize this behaviour by :doc:`customizing your logging configuration
:ref:`exception middleware <exception-middleware>`. If you do write custom
error handling, it's a good idea to emulate Django's built-in error handling
and only report/log errors if :setting:`DEBUG` is ``False``.
+ 404 errors are logged using the logging framework. By default, these log
+ records are ignored, but you can use them for error reporting by writing a
+ handler and :doc:`configuring logging </topics/logging>` appropriately.