summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/11946.doc1
-rw-r--r--docs/structured_logging.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11946.doc b/changelog.d/11946.doc
new file mode 100644
index 0000000000..eedf035a3b
--- /dev/null
+++ b/changelog.d/11946.doc
@@ -0,0 +1 @@
+Correct the structured logging configuration example. Contributed by Brad Jones.
diff --git a/docs/structured_logging.md b/docs/structured_logging.md
index b1281667e0..14db85f587 100644
--- a/docs/structured_logging.md
+++ b/docs/structured_logging.md
@@ -141,7 +141,7 @@ formatters:
 handlers:
     console:
         class: logging.StreamHandler
-        location: ext://sys.stdout
+        stream: ext://sys.stdout
     file:
         class: logging.FileHandler
         formatter: json