Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Reporting should use the django logging framework #18
"A logger can have multiple handlers, and each handler can have a different log level. In this way, it is possible to provide different forms of notification depending on the importance of a message. For example, you could install one handler that forwards ERROR and CRITICAL messages to a paging service, while a second handler logs all messages (including ERROR and CRITICAL messages) to a file for later analysis."
Rather than hardcoded email support, use the standard logging framework
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
It would also be possible to move the de-duplication code to a logging handler: