Merge pull request #112 from ArabCoders/dev

added missing time for nginx log messages.
This commit is contained in:
Abdulmohsen
2022-05-18 01:39:50 +03:00
committed by GitHub

View File

@@ -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"';