aletrn commited on
Commit
2438f17
·
1 Parent(s): fd91ade

[fix] fix loguru logger for fastapi app

Browse files
Files changed (1) hide show
  1. samgis/__init__.py +3 -1
samgis/__init__.py CHANGED
@@ -12,4 +12,6 @@ try:
12
 
13
  app_logger = Logger(service=SERVICE_NAME)
14
  except ModuleNotFoundError:
15
- from wrappers.fastapi_wrapper import app_logger
 
 
 
12
 
13
  app_logger = Logger(service=SERVICE_NAME)
14
  except ModuleNotFoundError:
15
+ from samgis.utilities.fastapi_logger import setup_logging
16
+
17
+ app_logger = setup_logging(debug=True)