From f31f0def29d29cfca3122bc68d7b1accafe17fc0 Mon Sep 17 00:00:00 2001 From: Abdussamet Kocak Date: Sun, 27 Feb 2022 15:56:04 +0300 Subject: [PATCH] fix: Replace loguru for stdlib logger --- app/app.py | 5 ++++- requirements.txt | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/app.py b/app/app.py index 2644618..b72fcbe 100644 --- a/app/app.py +++ b/app/app.py @@ -1,9 +1,12 @@ +import logging + from fastapi import FastAPI -from loguru import logger from starlette.requests import Request from app.api import api as api_router +logger = logging.getLogger(__name__) + app = FastAPI(title='prayertimes', version='1.0.0', description='An API for fetching islamic prayer times from Presidency of Religious Affairs of Turkey') diff --git a/requirements.txt b/requirements.txt index 2434526..32782af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ beautifulsoup4==4.10.0 fastapi==0.74.1 httpx==0.22.0 -loguru==0.6.0 uvicorn==0.17.5 aiocache==0.11.1 \ No newline at end of file