There was an error while loading. Please reload this page.
1 parent f9e4598 commit 412b46cCopy full SHA for 412b46c
1 file changed
backend/src/acidwatch_api/app.py
@@ -1,5 +1,6 @@
1
from __future__ import annotations
2
3
+import logging
4
import os
5
6
import fastapi
@@ -18,6 +19,12 @@
18
19
)
20
from acidwatch_api.routes import router
21
22
+logging.basicConfig(
23
+ format="%(asctime)s %(levelname)s %(name)s: %(message)s",
24
+ datefmt="%Y-%m-%d %H:%M:%S",
25
+ level=logging.INFO,
26
+)
27
+
28
29
tracer = trace.get_tracer(__name__, tracer_provider=get_tracer_provider())
30
0 commit comments