logging response and write times