mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-28 02:18:11 +00:00
Fix example for structured logging. (#11946)
The StreamHandler takes a stream parameter, not location.
This commit is contained in:
parent
0408d694ee
commit
3914576b2b
2 changed files with 2 additions and 1 deletions
1
changelog.d/11946.doc
Normal file
1
changelog.d/11946.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Correct the structured logging configuration example. Contributed by Brad Jones.
|
|
@ -141,7 +141,7 @@ formatters:
|
|||
handlers:
|
||||
console:
|
||||
class: logging.StreamHandler
|
||||
location: ext://sys.stdout
|
||||
stream: ext://sys.stdout
|
||||
file:
|
||||
class: logging.FileHandler
|
||||
formatter: json
|
||||
|
|
Loading…
Add table
Reference in a new issue