what you want to do is apply a filter to all of the loggers so that you can control what is emitted. The only way I could find to apply of filter to all of the loggers is by initializing the logging Logger class with something derived from logging.Logger and applying the filter there. As so:
class MyFilter(logging.Filter):
def filter(self, record):
if record.name != 'BBProposalGenerator':
return False
return True
class MyLogger(logging.Logger):
def __init__(self, name):
logging.Logger.__init__(self, name)
self.addFilter(MyFilter())
And then all you have to do is, the before any loggers are instantiated set the default logger class as your derived class, as so:
logging.setLoggerClass(MyLogger)
logging.basicConfig(level=logging.INFO)
Hope this helps!