When I run this script which does not use prefixmaps, I don't get any logging. That is what I would expect because the default root logging level in Python is WARNING.
"""main.py"""
import logging
uri = "http://purl.obolibrary.org/obo/CHEBI_1"
logging.info(uri)
However when I refactor my code to use prefixmaps all of a sudden I'm seeing INFO-level logging that I wouldn't expect to see.
"""main.py"""
import logging
from prefixmaps import load_converter
converter = load_converter(["obo", "bioregistry.upper", "linked_data", "prefixcc"])
uri = converter.expand("CHEBI:1")
logging.info(uri)
When I run this script which does not use
prefixmaps
, I don't get any logging. That is what I would expect because the default root logging level in Python isWARNING
.However when I refactor my code to use
prefixmaps
all of a sudden I'm seeingINFO
-level logging that I wouldn't expect to see.