diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-06-28 15:15:55 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-06-28 15:31:41 +0300 |
commit | 2f58ba2f82d4764809b7f35e533680989c69af63 (patch) | |
tree | 27b262c792ae81db8e9843a0b70fb93666f9b833 /internal/logging | |
parent | 7fd2e59052a24e8b2a78e4af87f292b3d8c1f8b3 (diff) |
Improve consistency of log fields
Diffstat (limited to 'internal/logging')
-rw-r--r-- | internal/logging/logging.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 6e8533d8..2faaddc5 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -67,9 +67,7 @@ func BasicAccessLogger(handler http.Handler, format string) (http.Handler, error func extraFields(r *http.Request) log.Fields { return log.Fields{ - "correlation_id": correlation.ExtractFromContext(r.Context()), - "pages_https": request.IsHTTPS(r), - "pages_host": r.Host, + "pages_https": request.IsHTTPS(r), } } |