From 275f55d2276be0c2949764616da96a5ddb49ffc1 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Fri, 20 Jun 2014 16:26:15 +0200 Subject: [PATCH] [IMP] runbot: nginx log_format: log request times --- runbot/runbot.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runbot/runbot.xml b/runbot/runbot.xml index 84f38ff7..686161bc 100644 --- a/runbot/runbot.xml +++ b/runbot/runbot.xml @@ -514,8 +514,10 @@ http { server_names_hash_max_size 512; server_names_hash_bucket_size 256; index index.html; - - access_log /access.log; + log_format full '$remote_addr - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent" $request_time'; + access_log /access.log full; client_body_temp_path ; fastcgi_temp_path ;