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"