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