Incorporate feedback from PR

Use extra keyword in logger, more pythonic
capture response code as a rate metric