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
what's the relationship between "log_config" in uvicorn.run('main:app', host="127.0.0.1", port=8051, log_config="log.ini") and logging.getLogger(__name__)?
#32
Open
sanwei111 opened this issue
Jun 13, 2024
· 0 comments
hello,sir.
i wtite a log.ini,pass it for the para of log_config in uvicorn.run('main:app', host="127.0.0.1", port=8051, log_config="log.ini").
besides, i initializes class of logger by:self._logger = logging.getLogger(name) in some file.
i found that the log generated by self._logger can be found in the log file defined by "log_config".
so,question is:
The text was updated successfully, but these errors were encountered: