tortoise-orm icon indicating copy to clipboard operation
tortoise-orm copied to clipboard

fastapi --- uvicorn main:app --reload

Open osyangy opened this issue 4 years ago • 5 comments

uvicorn main:app --reload

?[32mINFO?[0m: Uvicorn running on ?[1mhttp://127.0.0.1:8000?[0m (Press CTRL+C to quit) ?[32mINFO?[0m: Started reloader process [?[36m?[1m2500?[0m] using ?[36m?[1mwatchgod?[0m ?[32mINFO?[0m: Started server process [?[36m428?[0m] ?[32mINFO?[0m: Waiting for application startup. ?[32mINFO?[0m: Application startup complete. INFO:uvicorn.error:Application startup complete.

"INFO:uvicorn.error:Application startup complete."是日志还是异常信息

osyangy avatar Aug 18 '21 03:08 osyangy

What's the issue?

jkazimierczak avatar Aug 18 '21 08:08 jkazimierczak

What's the issue?

INFO:uvicorn.error:Application startup complete. Is it logs or abnormal?

osyangy avatar Aug 19 '21 06:08 osyangy

INFO:uvicorn.error:Application startup complete. 我也有这行信息 一开始也吓我一跳

h25302 avatar Aug 19 '21 11:08 h25302

Yes, considering this issue in the uvicorn repo that's quite normal. The "error" you listed here isn't in fact an error, but an unfortunate name of the logger. This was already mentioned in this pull request, but this is still an open issue. From my perspective it's purely cosmetic though.

jkazimierczak avatar Aug 19 '21 13:08 jkazimierczak

uvicorn app.main:app --reload try with this . it worked for me

pranavlonari avatar Apr 10 '25 09:04 pranavlonari