This answer is here: Python: how to suppress logging statements from third party libraries?
You can leave the default logging level for basicConfig, and then you set the DEBUG level when you get the logger for your module.
logging.basicConfig(format='%(asctime)s %(module)s %(filename)s:%(lineno)s - %(message)s')
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
logger.debug("my debug message")