Python Forum

Full Version: Need help with api structure and logging. (uvicorn and fastapi)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.