Email logging with Python Django
<p>Django does support email log handlers.</p>

<p>But this way, if some error is repeated often, we risk to be mail-bombed by ERROR emails.</p>

<p>How to send us emails on errors but not too often?</p>

<p>Any other solutions?</p>

<p>Use a <code>BufferingSMTPHandler</code> as described in <a href="https://gist.github.com/1379446" rel="nofollow">this Gist</a>. You can adapt the described class to your needs.</p>

python django logging