set log_level to debug in uvicorn

This commit is contained in:
Vladan Popovic 2024-09-18 01:57:43 +02:00
parent 732bdf43fd
commit fcab3fb6c3
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
import uvicorn import uvicorn
if __name__ == "__main__": if __name__ == "__main__":
uvicorn.run("torrent_downloader.app:app", host="0.0.0.0", port=8000, reload=True) uvicorn.run(
"torrent_downloader.app:app", host="0.0.0.0", port=8000, reload=True, log_level="debug"
)