In grants_tagger/tune_threshold.py we initialize the logger with logger = logging.getLogger(__name__) and at the same time we have a root logger in grants_tagger/__init__.py that sets the level according to the the environment variable LOGGING_LEVEL. This level is not being picked up as expected so we end up setting it again.