Spaces:
Paused
Paused
Create logging.yaml
Browse files- backend/logging.yaml +22 -0
backend/logging.yaml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: 1
|
2 |
+
disable_existing_loggers: false
|
3 |
+
|
4 |
+
formatters:
|
5 |
+
standard:
|
6 |
+
format: "%(asctime)s - %(levelname)s - %(message)s"
|
7 |
+
|
8 |
+
handlers:
|
9 |
+
console:
|
10 |
+
class: logging.StreamHandler
|
11 |
+
formatter: standard
|
12 |
+
stream: ext://sys.stdout
|
13 |
+
|
14 |
+
loggers:
|
15 |
+
uvicorn:
|
16 |
+
error:
|
17 |
+
propagate: true
|
18 |
+
|
19 |
+
root:
|
20 |
+
level: INFO
|
21 |
+
handlers: [console]
|
22 |
+
propagate: no
|