log-after-response hook