diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index 342dee3..179ff2b 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -19,7 +19,7 @@ from borgmatic.borg import list as borg_list from borgmatic.borg import prune as borg_prune from borgmatic.commands import hook from borgmatic.config import checks, collect, convert, validate -from borgmatic.logger import get_logger, should_do_markup, configure_logging +from borgmatic.logger import configure_logging, get_logger, should_do_markup from borgmatic.signals import configure_signals from borgmatic.verbosity import verbosity_to_log_level diff --git a/borgmatic/logger.py b/borgmatic/logger.py index 37f20ec..00d6c7e 100644 --- a/borgmatic/logger.py +++ b/borgmatic/logger.py @@ -119,6 +119,5 @@ def configure_logging(console_log_level, syslog_log_level=None): syslog_handler.setLevel(syslog_log_level) logging.basicConfig( - level=min(console_log_level, syslog_log_level), - handlers=(console_handler, syslog_handler), + level=min(console_log_level, syslog_log_level), handlers=(console_handler, syslog_handler) )