Skip to content

Commit

Permalink
Add host header to http access logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin-marginean committed May 27, 2024
1 parent 4e5663f commit 45909fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ object HttpAccessLog {
log.atInfo {
message = "http-access"
payload = mapOf(
"host" to tx.request.header("Host"),
"method" to tx.request.method,
"path" to tx.request.uri.path,
"uri" to tx.request.uri.toString(),
Expand Down

0 comments on commit 45909fd

Please sign in to comment.