          extra={
              'status_code': response.status_code,
              'request': request,
          },
          exc_info=exc_info,
      )
      response._has_been_logged = True
 
</s> remove             exc_info=sys.exc_info(),
 </s> add             exception=exc, </s> remove             exc_info=sys.exc_info(),
 </s> add             exception=exc, </s> remove             exc_info=sys.exc_info(),
 </s> add             exception=exc, </s> remove             exc_info=sys.exc_info(),
 </s> add             exception=exc,
        exc_info=exception,
          extra={
              'status_code': response.status_code,
              'request': request,
          },
        exc_info=exception,
      )
      response._has_been_logged = True
keep keep keep keep replace keep keep
 Changed django.utils.log.log_response() to take exception instance.

There's little point retrieving a fresh reference to the exception in
the legacy tuple format, when it's all available via the exception
instance we already have. 
django/utils/log.py