aboutsummaryrefslogtreecommitdiffstats
path: root/backend/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/__init__.py')
-rw-r--r--backend/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/__init__.py b/backend/__init__.py
index 220b457..f8b0afe 100644
--- a/backend/__init__.py
+++ b/backend/__init__.py
@@ -1,3 +1,5 @@
+import logging
+
import sentry_sdk
from sentry_sdk.integrations.asgi import SentryAsgiMiddleware
from starlette.applications import Starlette
@@ -6,6 +8,7 @@ from starlette.middleware.authentication import AuthenticationMiddleware
from starlette.middleware.cors import CORSMiddleware
from backend import constants
+from backend import logs # This has to be imported before other logging statements
from backend.authentication import JWTAuthenticationBackend
from backend.middleware import DatabaseMiddleware, ProtectedDocsMiddleware
from backend.route_manager import create_route_map