Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
a5f1e580
Kaydet (Commit)
a5f1e580
authored
Kas 21, 2017
tarafından
Frédéric Massart
Kaydeden (comit)
Tim Graham
Kas 21, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarified who the AdminEmailHandler emails.
üst
d97f026a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
settings.txt
docs/ref/settings.txt
+5
-6
logging.txt
docs/topics/logging.txt
+7
-7
No files found.
docs/ref/settings.txt
Dosyayı görüntüle @
a5f1e580
...
@@ -48,14 +48,13 @@ of the case of the actual model class name.
...
@@ -48,14 +48,13 @@ of the case of the actual model class name.
Default: ``[]`` (Empty list)
Default: ``[]`` (Empty list)
A list of all the people who get code error notifications. When
A list of all the people who get code error notifications. When
``DEBUG=False`` and a view raises an exception, Django will email these people
:setting:`DEBUG=False <DEBUG>` and :class:`~django.utils.log.AdminEmailHandler`
with the full exception information. Each item in the list should be a tupl
e
is configured in :setting:`LOGGING` (done by default), Django emails thes
e
of (Full name, email address). Example::
people the details of exceptions raised in the request/response cycle.
[('John', 'john@example.com'), ('Mary', 'mary@example.com')]
Each item in the list should be a tuple of (Full name, email address). Example::
Note that Django will email *all* of these people whenever an error happens.
[('John', 'john@example.com'), ('Mary', 'mary@example.com')]
See :doc:`/howto/error-reporting` for more information.
.. setting:: ALLOWED_HOSTS
.. setting:: ALLOWED_HOSTS
...
...
docs/topics/logging.txt
Dosyayı görüntüle @
a5f1e580
...
@@ -379,13 +379,13 @@ This logging configuration does the following things:
...
@@ -379,13 +379,13 @@ This logging configuration does the following things:
* Defines two handlers:
* Defines two handlers:
* ``console``, a
StreamHandler, which will print
any ``INFO``
* ``console``, a
:class:`~logging.StreamHandler`, which prints
any ``INFO``
(or higher) message to
stderr. This handler uses the ``simple`` output
(or higher) message to
``sys.stderr``. This handler uses the ``simple``
format.
output
format.
* ``mail_admins``, an
AdminEmailHandler, which will email any
* ``mail_admins``, an
:class:`AdminEmailHandler`, which emails any ``ERROR``
``ERROR`` (or higher) message to the site admins. This handler uses
(or higher) message to the site :setting:`ADMINS`. This handler uses the
the
``special`` filter.
``special`` filter.
* Configures three loggers:
* Configures three loggers:
...
@@ -587,7 +587,7 @@ Python logging module.
...
@@ -587,7 +587,7 @@ Python logging module.
.. class:: AdminEmailHandler(include_html=False, email_backend=None)
.. class:: AdminEmailHandler(include_html=False, email_backend=None)
This handler sends an email to the site
admins
for each log
This handler sends an email to the site
:setting:`ADMINS`
for each log
message it receives.
message it receives.
If the log record contains a ``request`` attribute, the full details
If the log record contains a ``request`` attribute, the full details
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment