Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nginx/templates/nginx.conf.erb

Issue 29328450: Issue 3102 - Introduce log_format "data" for storing POST messages (Closed)
Patch Set: Issue 3102 - Now the other way around Created Sept. 21, 2015, 11:53 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/templates/nginx.conf.erb
diff --git a/modules/nginx/templates/nginx.conf.erb b/modules/nginx/templates/nginx.conf.erb
index 8f676785510fc23441e983d34d8ce343097f4f1f..9139179749ef6a83c116797bc64389ba5e1278d5 100644
--- a/modules/nginx/templates/nginx.conf.erb
+++ b/modules/nginx/templates/nginx.conf.erb
@@ -19,6 +19,9 @@ http {
'"$http_user_agent" "$http_x_forwarded_for" $scheme '
'"$http_accept_language" "$http_host" "$http_x_client_id"';
+ log_format data '[$time_local] "$request" $status "$http_user_agent" '
Felix Dahlke 2015/09/21 18:30:45 Why not have the same fields as with "main" here,
Felix Dahlke 2015/09/21 18:30:45 Do we have more than one use case for this? Will f
mathias 2015/09/21 18:38:53 Yes the filter hit statistics are meant to use the
mathias 2015/09/21 18:38:53 Because the data is meant to be anonymous. There i
Felix Dahlke 2015/09/21 20:15:51 While it's not relevant for the Adblock Browser da
mathias 2015/09/21 21:38:41 In fact most of the fields currently matching thos
+ '$http_content_length "$http_content_type" $request_body';
+
access_log /var/log/nginx/access.log main;
server_tokens off;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld