-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to config user logging? #183
Comments
After check the code, it is using root logger. |
Good catch! I'm not very familiar with logging myself, would you be up for sending in a PR to improve this? |
It is very simple: # define a named logger
logger = logging.getLogger("realtimestt")
# config it (optional) Then replace all There are some custom settings to the logger in realtimestt, I'm not sure what it is used for. Actually, I have forked and planed to fix it. But IMO, these custom settings can be removed, I will check it later. |
When I use this lib, I found that I can not use logging to output any logs, and all output logs are formated with the prefix of
RealTimeSTT:
The text was updated successfully, but these errors were encountered: