Change in docker-playground[master]: cgit: more verbose logging format in access.log
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/28260 ) Change subject: cgit: more verbose logging format in access.log ...................................................................... cgit: more verbose logging format in access.log Change-Id: Iee684c8732410971719044b281a4e810fe0f7945 --- M cgit/config/nginx.conf 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/60/28260/1 diff --git a/cgit/config/nginx.conf b/cgit/config/nginx.conf index dfd8d0b..8c3595c 100644 --- a/cgit/config/nginx.conf +++ b/cgit/config/nginx.conf @@ -22,3 +22,10 @@ fastcgi_read_timeout 120s; } } + +log_format timed_combined '$remote_addr - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent" ' + '$request_time $upstream_response_time $pipe'; + +access_log /var/log/nginx/access.log timed_combined; -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/28260 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iee684c8732410971719044b281a4e810fe0f7945 Gerrit-Change-Number: 28260 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-MessageType: newchange
participants (1)
-
laforge