Need help with api structure and logging. (uvicorn and fastapi) - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Need help with api structure and logging. (uvicorn and fastapi) (/thread-29533.html) |
Need help with api structure and logging. (uvicorn and fastapi) - KaranTrivedi - Sep-08-2020 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. |