From 95b32cbcf540049910bce1d8b56269620bfb0111 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Wed, 18 May 2022 01:39:15 +0300 Subject: [PATCH] added missing time for nginx log messages. --- docker/files/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/files/nginx.conf b/docker/files/nginx.conf index 27e4bb9f..4e8d1500 100644 --- a/docker/files/nginx.conf +++ b/docker/files/nginx.conf @@ -23,7 +23,7 @@ http { '' close; } - log_format traceable 'status: $status - text: "$upstream_http_x_status" - apikey: "$http_x_apikey" ' + log_format traceable '[$time_iso8601] status: $status - text: "$upstream_http_x_status" - apikey: "$http_x_apikey" ' '- event: "$upstream_http_x_wh_event" - type: "$upstream_http_x_wh_type" - id: "$request_id" ' '- origin: "$upstream_http_x_wh_backend" - item: "$upstream_http_x_wh_item" ' '- request: "$request":$body_bytes_sent - ip: $remote_addr - host: $http_host - agent: "$http_user_agent"';