-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog_conf.yaml
More file actions
31 lines (31 loc) · 736 Bytes
/
log_conf.yaml
File metadata and controls
31 lines (31 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 1
disable_existing_loggers: False
formatters:
default:
"()": uvicorn.logging.DefaultFormatter
datefmt: "%Y-%m-%dT%H:%M:%S"
format: "[%(asctime)s.%(msecs)03dZ] %(levelprefix)s %(message)s"
access:
"()": uvicorn.logging.AccessFormatter
datefmt: "%Y-%m-%dT%H:%M:%S"
format: "[%(asctime)s.%(msecs)03dZ] %(levelprefix)s %(message)s"
handlers:
default:
formatter: default
class: logging.StreamHandler
stream: ext://sys.stderr
access:
formatter: access
class: logging.StreamHandler
stream: ext://sys.stdout
loggers:
uvicorn.error:
level: INFO
handlers:
- default
propagate: no
uvicorn.access:
level: INFO
handlers:
- access
propagate: no