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