diff --git a/CHANGELOG.md b/CHANGELOG.md index 88c1349..6f46395 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.19.5-5 + +* Add `http_x_amzn_trace_id` to json logging (for `X-Amzn-Trace-Id` header). +* Add `http_connection` to json logging (for `Connection` header). +* Fix "incorrect" spelling of header. + ## 1.19.5-4 * Renamed `main` logging format to `main_default`. diff --git a/config/log.conf b/config/log.conf index 385f33d..0cb90b8 100644 --- a/config/log.conf +++ b/config/log.conf @@ -7,8 +7,10 @@ log_format main_json escape=json '{' '"body_bytes_sent":"$body_bytes_sent",' '"host":"$host",' - '"http_referrer":"$http_referer",' + '"http_connection":"$http_connection",' + '"http_referer":"$http_referer",' '"http_user_agent":"$http_user_agent",' + '"http_x_amzn_trace_id":"$http_x_amzn_trace_id",' '"http_x_forwarded_for":"$http_x_forwarded_for",' '"proxy_x_forwarded_port":"$proxy_x_forwarded_port",' '"proxy_x_forwarded_proto":"$proxy_x_forwarded_proto",'