I am currently doing this in my code:
logger = logging.getLogger(__name__)
logger.info("something happened")
Then at the top of my main scripts, I do this:
logging.basicConfig(level=logging.INFO)
The problem is that there are too many messages. Is there a way to limit it to one or more different registrars?
source
share