how to configure logging in python,logger.setLevel(logging.DEBUG)