Response latency of an HTTP request/response in a rolling log4j log file

How do we capture the response latency of an HTTP request/response in a rolling log4j log file?