How to configure Logging in Python,logger.setLevel(logging.DEBUG)