@@ -89,29 +89,29 @@ formatters:
89
89
ERROR : red
90
90
CRITICAL : purple
91
91
92
- console_http : # suited for black background
93
- " () " : " demo_flask.formatter.HttpFormatter"
94
- datefmt : " %Y/%m/%d %H:%M:%S"
95
- format : " {asctime} - {name} - {levelname:<7} - {message}"
96
- style : " {"
97
-
98
- console_color_http : # suited for black background
99
- " () " : " demo_flask.formatter.ColorHttpFormatter"
100
- datefmt : " %Y/%m/%d %H:%M:%S"
101
- format : " {log_color}{asctime} - {name} - {levelname:<7} - {message}{reset}"
102
- reset : True
103
- style : " {"
104
- log_colors :
105
- # cfr. https://github.com/borntyping/python-colorlog
106
- # supported colors: blue|cyan|green|yellow|red|purple|white|black
107
- # supported prefixes: "bold_" and "bg_"
108
- # <LOGLEVEL>: <foreground-color>,<background-color>
109
- # comma is the separator, but no extra spaces allowed
110
- DEBUG : bold_cyan # bold_cyan,bg_white
111
- INFO : bold_green
112
- WARNING : yellow
113
- ERROR : red
114
- CRITICAL : purple
92
+ # console_http: # suited for black background
93
+ # "()": "demo_flask.formatter.HttpFormatter"
94
+ # datefmt: "%Y/%m/%d %H:%M:%S"
95
+ # format: "{asctime} - {name} - {levelname:<7} - {message}"
96
+ # style: "{"
97
+
98
+ # console_color_http: # suited for black background
99
+ # "()": "demo_flask.formatter.ColorHttpFormatter"
100
+ # datefmt: "%Y/%m/%d %H:%M:%S"
101
+ # format: "{log_color}{asctime} - {name} - {levelname:<7} - {message}{reset}"
102
+ # reset: True
103
+ # style: "{"
104
+ # log_colors:
105
+ # # cfr. https://github.com/borntyping/python-colorlog
106
+ # # supported colors: blue|cyan|green|yellow|red|purple|white|black
107
+ # # supported prefixes: "bold_" and "bg_"
108
+ # # <LOGLEVEL>: <foreground-color>,<background-color>
109
+ # # comma is the separator, but no extra spaces allowed
110
+ # DEBUG: bold_cyan # bold_cyan,bg_white
111
+ # INFO: bold_green
112
+ # WARNING: yellow
113
+ # ERROR: red
114
+ # CRITICAL: purple
115
115
116
116
uvicorn_default : # see uvicorn/config.py
117
117
" () " : " uvicorn.logging.DefaultFormatter"
@@ -138,15 +138,15 @@ handlers:
138
138
filters :
139
139
- " regex-filter"
140
140
141
- console_http :
142
- class : " logging.StreamHandler"
143
- # formatter: !env PYTHON_CONSOLE_FORMATTER, console_bw
144
- # formatter: console_http
145
- formatter : console_color_http
146
- level : !env LOGLEVEL_CONSOLE, DEBUG
147
- stream : " ext://sys.stdout"
148
- filters :
149
- - " regex-filter"
141
+ # console_http:
142
+ # class: "logging.StreamHandler"
143
+ # # formatter: !env PYTHON_CONSOLE_FORMATTER, console_bw
144
+ # # formatter: console_http
145
+ # formatter: console_color_http
146
+ # level: !env LOGLEVEL_CONSOLE, DEBUG
147
+ # stream: "ext://sys.stdout"
148
+ # filters:
149
+ # - "regex-filter"
150
150
151
151
debug_file : &default
152
152
class : " logging.handlers.RotatingFileHandler"
@@ -257,10 +257,10 @@ loggers:
257
257
http.client :
258
258
level : !env LOGLEVEL_HTTP_CLIENT, NOTSET
259
259
260
- httplogger :
261
- level : !env LOGLEVEL_HTTPLOGGER, NOTSET
262
- handlers :
263
- - console_http
260
+ # httplogger:
261
+ # level: !env LOGLEVEL_HTTPLOGGER, NOTSET
262
+ # handlers:
263
+ # # - console_http
264
264
265
265
ipython-startup :
266
266
level : !env LOGLEVEL_IPYTHON _STARTUP, NOTSET
0 commit comments