You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely due to FastAPI restarting the whole application each time a worker is spawned. This causes logger.add() to be called multiple times, and different files to be created.
loguru==0.7.2
my code:
I don't understand why there are two similar log file names on 20th and 21st
I started multiple processes in fastapi, whether it has anything to do with multiple processes
The text was updated successfully, but these errors were encountered: