From c946d02c1f6c10e3eafecd5587b3b14658e75d94 Mon Sep 17 00:00:00 2001 From: Daenney Date: Thu, 25 Jan 2024 18:31:57 +0100 Subject: [PATCH] [docs] Fix log-timestamp-format (#2572) Supersedes: #2556 Closes: #2455 --- docs/configuration/general.md | 2 +- example/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/general.md b/docs/configuration/general.md index 8ae2ec4f7..93672ea43 100644 --- a/docs/configuration/general.md +++ b/docs/configuration/general.md @@ -35,7 +35,7 @@ log-client-ip: true # The format must be compatible with Go's time.Layout, as # documented on https://pkg.go.dev/time#pkg-constants. # -# Examples: [true, false] +# Examples: ["2006-01-02T15:04:05.000Z07:00", ""] # Default: "02/01/2006 15:04:05.000" log-timestamp-format: "02/01/2006 15:04:05.000" diff --git a/example/config.yaml b/example/config.yaml index e3f4d1694..bbdd8adbf 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -43,7 +43,7 @@ log-client-ip: true # The format must be compatible with Go's time.Layout, as # documented on https://pkg.go.dev/time#pkg-constants. # -# Examples: [true, false] +# Examples: ["2006-01-02T15:04:05.000Z07:00", ""] # Default: "02/01/2006 15:04:05.000" log-timestamp-format: "02/01/2006 15:04:05.000"