Fix example for structured logging. (#11946)
The StreamHandler takes a stream parameter, not location.pull/11956/head
parent
0408d694ee
commit
3914576b2b
|
@ -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…
Reference in New Issue