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
In flite.py, which is included in _epitran.py and therefore in __init__.py for the whole package the following line is found:
logging.basicConfig(level=logging.CRITICAL)
This sets the logging for the entire program / module and leads to very surprising behavior and difficulty in debugging. Is there a reason for this call? Ideally it can be removed or replaced with some equivalent that does not impact the overall program level. Really I don't think a library should be setting this type of configuration since the library users will have the context on how the logging should be configured.
The text was updated successfully, but these errors were encountered:
In flite.py, which is included in _epitran.py and therefore in __init__.py for the whole package the following line is found:
logging.basicConfig(level=logging.CRITICAL)
This sets the logging for the entire program / module and leads to very surprising behavior and difficulty in debugging. Is there a reason for this call? Ideally it can be removed or replaced with some equivalent that does not impact the overall program level. Really I don't think a library should be setting this type of configuration since the library users will have the context on how the logging should be configured.
The text was updated successfully, but these errors were encountered: