diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-11-29 01:18:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 01:18:35 -0500 |
commit | f55b123d63132e290789bcd07077375c76b6e1dd (patch) | |
tree | 494cf4f8d85f48d5d3bc3a6e12d74d491710d6cd /caddytest/integration/caddyfile_adapt/log_filters.txt | |
parent | 0eb0b60f47bddcf24f6af9265e60044033555ff2 (diff) |
caddyhttp: Split up logged remote address into IP and port (#4403)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/log_filters.txt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/log_filters.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_filters.txt b/caddytest/integration/caddyfile_adapt/log_filters.txt index 1bef4c2..5253529 100644 --- a/caddytest/integration/caddyfile_adapt/log_filters.txt +++ b/caddytest/integration/caddyfile_adapt/log_filters.txt @@ -15,7 +15,7 @@ log { replace foo REDACTED delete bar } - request>remote_addr ip_mask { + request>remote_ip ip_mask { ipv4 24 ipv6 32 } @@ -64,7 +64,7 @@ log { "request\u003eheaders\u003eServer": { "filter": "delete" }, - "request\u003eremote_addr": { + "request\u003eremote_ip": { "filter": "ip_mask", "ipv4_cidr": 24, "ipv6_cidr": 32 |