From 55cef21fbe81d5cac191f9c703f50bca38f530b6 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 15 Apr 2022 05:16:08 -0500 Subject: [PATCH] Move accessLog.fields example to TOML section --- docs/content/observability/access-logs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/observability/access-logs.md b/docs/content/observability/access-logs.md index b43fde0c0..36e19b6d9 100644 --- a/docs/content/observability/access-logs.md +++ b/docs/content/observability/access-logs.md @@ -135,9 +135,6 @@ Each field can be set to: The `defaultMode` for `fields.headers` is `drop`. - [accessLog.fields] - defaultMode = "keep" - ```yaml tab="File (YAML)" # Limiting the Logs to Specific Fields accessLog: @@ -161,6 +158,9 @@ accessLog: filePath = "/path/to/access.log" format = "json" + [accessLog.fields] + defaultMode = "keep" + [accessLog.fields.names] "ClientUsername" = "drop"