summaryrefslogtreecommitdiff
path: root/caddytest/integration
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration')
-rw-r--r--caddytest/integration/caddyfile_adapt/log_filters.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_filters.txt b/caddytest/integration/caddyfile_adapt/log_filters.txt
index ab11807..0949c1d 100644
--- a/caddytest/integration/caddyfile_adapt/log_filters.txt
+++ b/caddytest/integration/caddyfile_adapt/log_filters.txt
@@ -5,7 +5,7 @@ log {
format filter {
wrap console
fields {
- request>headers>Authorization delete
+ request>headers>Authorization replace REDACTED
request>headers>Server delete
request>remote_addr ip_mask {
ipv4 24
@@ -30,7 +30,8 @@ log {
"encoder": {
"fields": {
"request\u003eheaders\u003eAuthorization": {
- "filter": "delete"
+ "filter": "replace",
+ "value": "REDACTED"
},
"request\u003eheaders\u003eServer": {
"filter": "delete"
@@ -66,4 +67,4 @@ log {
}
}
}
-} \ No newline at end of file
+}