Specifying log filter, to silence a Django deprecation warning.

See https://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged