Skip to content

Commit 4ff0db0

Browse files
committed
fix: Restore logger configuration in backend/main.py
1 parent 00e1960 commit 4ff0db0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
1818

19+
# Configure Logging
20+
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
21+
logger = logging.getLogger(__name__)
22+
1923
# --- Imports ---
2024
from . import app_warnings, models, database, auth, chat, explanation, prediction, report, admin, payments, security
2125
from .pdf_service import generate_medical_report

0 commit comments

Comments
 (0)