change log level dynamically to 'debug' without restarting the application,logging.getLogger().setLevel(logging.DEBUG)