using python logging in multiple modules,loggerB = logging.getLogger(__name__ + '.B')