From 9c321907a9f755949c760f62703fb0d00e61e415 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sat, 3 Jul 2010 22:02:57 -0400 Subject: Updated log format --- conf/nginx.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/nginx.conf b/conf/nginx.conf index 306c6ee..4d54b39 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,8 +10,10 @@ events { http { include /etc/nginx/mime.types; - access_log /home/dumpfmprod/prod/log/nginx/access.log; - + log_format hyphen '$remote_addr | $time_local | ' + '"$request" | $pipe | $status | $request_time | $content_length | $bytes_sent | $body_bytes_sent | ' + '"$http_referer" | "$http_user_agent"'; + access_log /home/dumpfmprod/prod/log/nginx/access.log hyphen; sendfile on; #tcp_nopush on; -- cgit v1.2.3-70-g09d2