From 245424373f4c6416de30c5e5cbcbf5ef59ef84a3 Mon Sep 17 00:00:00 2001 From: "Esteban (Kito) Pastorino" <143179+kitop@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:58:03 +0100 Subject: [PATCH] Add json_flattened to docs Document the changes made in https://github.com/pgdogdev/pgdog/pull/987 --- docs/configuration/pgdog.toml/general.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration/pgdog.toml/general.md b/docs/configuration/pgdog.toml/general.md index 6825ef80..f7027616 100644 --- a/docs/configuration/pgdog.toml/general.md +++ b/docs/configuration/pgdog.toml/general.md @@ -638,7 +638,8 @@ Format to use for PgDog application logs. Available options: - `text` (default): human-readable text logs -- `json`: structured JSON logs suitable for ECS/Datadog ingestion +- `json`: structured JSON logs suitable for ECS/Datadog ingestion (`{"timestamp":"2026-05-19T10:40:00.330523Z","level":"INFO","fields":{"message":"body", "field": "value"}}`) +- `json_flattened`: structured JSON logs with flattened fields at the top level (`{"timestamp":"2026-05-19T11:24:44.192447Z","level":"INFO","message":"body","field":"value"}`) Default: **`text`**