add duration caculation to HTTP log entry