From 20ede53942808b27ebb891b3acc223fc25305e53 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 16 Jan 2022 10:19:58 +0100 Subject: [PATCH] updated logging format --- deployment/bare_metal/nginx/conf.d/logging.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/bare_metal/nginx/conf.d/logging.conf b/deployment/bare_metal/nginx/conf.d/logging.conf index feebfe814..a76e8fae7 100644 --- a/deployment/bare_metal/nginx/conf.d/logging.conf +++ b/deployment/bare_metal/nginx/conf.d/logging.conf @@ -1,4 +1,4 @@ -log_format gradido_log '$http_x_forwarded_for - $remote_user [$time_local] ' - '"$request_method $scheme://$host$request_uri $server_protocol" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" $request_time'; \ No newline at end of file +log_format gradido_log '$remote_addr - $remote_user [$time_local] ' + '"$request_method $status $request_uri"' + ' "$http_referer" "$http_user_agent"' + ' $server_protocol $body_bytes_sent $request_time'; \ No newline at end of file