From fb8a56f39f7a45ec10bb48c5e6ac5f0edad030d7 Mon Sep 17 00:00:00 2001 From: Brad Jones Date: Tue, 8 Feb 2022 18:48:25 -1000 Subject: [PATCH 1/3] Fix stream location for StreamHandler This should read `stream` instead of `location`. Signed-off-by: Brad Jones --- docs/structured_logging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/structured_logging.md b/docs/structured_logging.md index b1281667e02b..14db85f58728 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 From eec377c3e17e87ecb22376c5a363b5c0302bb2a2 Mon Sep 17 00:00:00 2001 From: Brad Jones Date: Wed, 9 Feb 2022 12:47:53 -0700 Subject: [PATCH 2/3] Add changelog Signed-off-by: Brad Jones --- changelog.d/11946.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/11946.doc diff --git a/changelog.d/11946.doc b/changelog.d/11946.doc new file mode 100644 index 000000000000..c9aec4fefeb4 --- /dev/null +++ b/changelog.d/11946.doc @@ -0,0 +1 @@ +Fixes incorrect yaml key in structured logging example. From 78fdff165fef334e83f1037f00ef21c5d83786c6 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 9 Feb 2022 15:29:23 -0500 Subject: [PATCH 3/3] Update changelog. --- changelog.d/11946.doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/11946.doc b/changelog.d/11946.doc index c9aec4fefeb4..eedf035a3bf3 100644 --- a/changelog.d/11946.doc +++ b/changelog.d/11946.doc @@ -1 +1 @@ -Fixes incorrect yaml key in structured logging example. +Correct the structured logging configuration example. Contributed by Brad Jones.