diff --git a/icloudpd/logger.py b/icloudpd/logger.py index 2b812a487..fe2656402 100644 --- a/icloudpd/logger.py +++ b/icloudpd/logger.py @@ -32,11 +32,10 @@ def tqdm_write(self, message, loglevel=INFO): self.tqdm.write(message) -def setup_logger(loglevel=DEBUG): +def setup_logger(): """Set up logger and add stdout handler""" logging.setLoggerClass(IPDLogger) logger = logging.getLogger("icloudpd") - logger.setLevel(loglevel) has_stdout_handler = False for handler in logger.handlers: if handler.name == "stdoutLogger":