how to turn off INFO messages when run in command-line mode
Author: mchariCreated Oct 23, 2019Updated Jun 15, 2022
LabelsContributions welcome
I am running allennlp in command-line mode. Is there any way to turn off INFO messages ? From an earlier issue I see that there is an environment variable that can be set. I am not sure what to set it to.
if os.environ.get("ALLENNLP_DEBUG"): LEVEL = logging.DEBUG else: LEVEL = logging.INFO
doing an "export ALLENNLP_DEBUG=DEBUG" in a bash shell doesn't seem to suppress INFO messages.
Source: allenai/allennlp