Update example_log_config.yaml (#4820)
This commit is contained in:
parent
685704536f
commit
32471d63b7
|
@ -0,0 +1 @@
|
||||||
|
Update example_log_config.yaml.
|
|
@ -19,6 +19,7 @@ handlers:
|
||||||
# example output to console
|
# example output to console
|
||||||
console:
|
console:
|
||||||
class: logging.StreamHandler
|
class: logging.StreamHandler
|
||||||
|
formatter: fmt
|
||||||
filters: [context]
|
filters: [context]
|
||||||
|
|
||||||
# example output to file - to enable, edit 'root' config below.
|
# example output to file - to enable, edit 'root' config below.
|
||||||
|
@ -29,7 +30,7 @@ handlers:
|
||||||
maxBytes: 100000000
|
maxBytes: 100000000
|
||||||
backupCount: 3
|
backupCount: 3
|
||||||
filters: [context]
|
filters: [context]
|
||||||
|
encoding: utf8
|
||||||
|
|
||||||
root:
|
root:
|
||||||
level: INFO
|
level: INFO
|
||||||
|
|
Loading…
Reference in New Issue