Skip to content

Commit

Permalink
🔊 update logs for uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Aug 4, 2023
1 parent afa04da commit 52c1e49
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tt/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ async def webhook(request: Request):
and the `settings.host` and `settings.port` variables
are the host and port to run the server on, respectively
"""
uvicorn.run(app, host=settings.host, port=int(settings.port))
uvicorn.run(
app,
host=settings.host,
port=int(settings.port),
log_level="CRITICAL")

0 comments on commit 52c1e49

Please sign in to comment.