per-http_exchange log function customization