From dc563b4484598a5f9e53562e81c4fd3561259693 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 16 Jun 2015 17:41:21 +1000 Subject: [PATCH] improve log format --- config/nginx.sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index ec8199163..36acdb4ec 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -25,7 +25,7 @@ map $http_x_forwarded_proto $thescheme { https https; } -log_format log_discourse '[$time_local] $remote_addr "$request" "$http_user_agent" "$sent_http_x_discourse_route" $upstream_response_time $request_time'; +log_format log_discourse '[$time_local] $remote_addr "$request" "$http_user_agent" "$sent_http_x_discourse_route" $status $bytes_sent "$http_referer" $upstream_response_time $request_time'; server {