Skip to content

Commit

Permalink
Revert calling patch logger (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Sep 5, 2024
1 parent 3c89d09 commit 22f7452
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions labs_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from config import Config
from fastapi.middleware.cors import CORSMiddleware
from prediction_market_agent_tooling.gtypes import HexAddress
from prediction_market_agent_tooling.loggers import logger, patch_logger
from prediction_market_agent_tooling.loggers import logger

from labs_api.config import Config
from labs_api.insights import MarketInsightsResponse, market_insights_cached
Expand All @@ -23,8 +23,6 @@


def create_app() -> fastapi.FastAPI:
patch_logger()

@asynccontextmanager
async def lifespan(app: fastapi.FastAPI) -> t.AsyncIterator[None]:
# At start of the service.
Expand Down

0 comments on commit 22f7452

Please sign in to comment.