Python Forum
Need help with api structure and logging. (uvicorn and fastapi)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with api structure and logging. (uvicorn and fastapi)
#1
Hey,

Here is my project.

https://github.com/KaranTrivedi/dirlist-api

I tried a few different things. I would like to create an access log file and default. I noticed an issue with double logging. Is this the correct way to structure a fastapi project? I am a bit concerned around how I am doing imports etc. also I am not really happy with logging.

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error on basic Post API, FastAPI marlonbown 1 2,176 Nov-10-2022, 10:02 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020