From da88655abffa611de479c47fe0d83e0a1a218cfa Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sun, 14 Mar 2021 21:05:43 -0400 Subject: [PATCH] caddyfile/directives/log: add docs for new replace directive This commit corresponds with the functionality added in this PR: https://github.com/caddyserver/caddy/pull/4029 --- src/docs/markdown/caddyfile/directives/log.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/docs/markdown/caddyfile/directives/log.md b/src/docs/markdown/caddyfile/directives/log.md index 44b4b10..05f5dab 100644 --- a/src/docs/markdown/caddyfile/directives/log.md +++ b/src/docs/markdown/caddyfile/directives/log.md @@ -165,6 +165,14 @@ Marks a field to be skipped from being encoded. delete ``` +##### replace + +Marks a field to be replaced with the provided string at encoding time. + +```caddy-d + replace +``` + ##### ip_mask Masks IP addresses in the field using a CIDR mask, i.e. the number of bytes from the IP to retain, starting from the left side. There is separate configuration for IPv4 and IPv6 addresses.