diff options
author | Brad Jones <brad@bradjones.name> | 2022-02-09 13:56:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 20:56:33 +0000 |
commit | 3914576b2b6272a4be790c89d87649d257018dcf (patch) | |
tree | d00b42eef712ecfd98db372cec9fe44b983220d5 /docs/structured_logging.md | |
parent | Update changelog from #11867 to be a single line. (diff) | |
download | synapse-3914576b2b6272a4be790c89d87649d257018dcf.tar.xz |
Fix example for structured logging. (#11946)
The StreamHandler takes a stream parameter, not location.
Diffstat (limited to '')
-rw-r--r-- | docs/structured_logging.md | 2 |
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 |