Undocumented
Class | AdminEmailHandler |
An exception log handler that emails log entries to site admins. |
Class | CallbackFilter |
A logging filter that checks the return value of a given callable (which takes the record-to-be-logged as its only parameter) to decide whether to log a record. |
Class | RequireDebugFalse |
Undocumented |
Class | RequireDebugTrue |
Undocumented |
Constant | DEFAULT_LOGGING |
Undocumented |
Variable | request_logger |
Undocumented |
Class | ServerFormatter |
Undocumented |
Function | configure_logging |
Undocumented |
Function | log_response |
Log errors based on HttpResponse status. |
dict
=
Undocumented
Value |
|
Log errors based on HttpResponse status.
Log 5xx responses as errors and 4xx responses as warnings (unless a level is given as a keyword argument). The HttpResponse status_code and the request are passed to the logger's extra parameter.