Closed xenotropic closed 1 year ago
@anand-nv could you please delegate or take a look?
@xenotropic we are right now tight on bandwidth, if possible could you create a PR that fixes this?
@yzhang123 Am not able to reproduce this on the current main branch.
The default logging level is logging.WARNING
. So logging.info
messages shouldn't be output unless some other function or environment variable is setting this to logging.INFO
globally. verbose=True
does not deal with the logger.
Confirmed that setting logging level to logging.INFO
before importing the Normalizer results in the info messages being displayed on screen. This is not a bug.
I'm sure I'll figure out how to configure logger to make this not go to stdout, so not a huge issue. But still it would be nice if the default was that I wouldn't get info messages mixed in with my program's output when "Verbose=False" is specified. I'm using, basically from the tutorials:
Note that verbose is False. But this still outputs
[NeMo I 2023-02-02 03:32:26 tokenize_and_classify:87] Creating ClassifyFst grammars.
to stdout. Please consider not printing this to stdout when "Verbose=False" was specified. Thank you.