summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorBrad Jones <brad@bradjones.name>2022-02-09 13:56:33 -0700
committerGitHub <noreply@github.com>2022-02-09 20:56:33 +0000
commit3914576b2b6272a4be790c89d87649d257018dcf (patch)
treed00b42eef712ecfd98db372cec9fe44b983220d5 /docs
parentUpdate changelog from #11867 to be a single line. (diff)
downloadsynapse-3914576b2b6272a4be790c89d87649d257018dcf.tar.xz
Fix example for structured logging. (#11946)
The StreamHandler takes a stream parameter, not location.
Diffstat (limited to 'docs')
-rw-r--r--docs/structured_logging.md2
1 files changed, 1 insertions, 1 deletions
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