From 422c5e32f4a3a8f4396aaf461f9b4760ec479330 Mon Sep 17 00:00:00 2001 From: Tobias Hodapp Date: Thu, 23 Nov 2023 11:46:10 +0100 Subject: [PATCH 1/2] Added debug message that logs borg version for every config --- borgmatic/commands/borgmatic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index ab32aa8..ca9a3ae 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -75,6 +75,7 @@ def run_configuration(config_filename, config, arguments): try: local_borg_version = borg_version.local_borg_version(config, local_path) + logger.debug(f'{config_filename}: borg {local_borg_version}') except (OSError, CalledProcessError, ValueError) as error: yield from log_error_records(f'{config_filename}: Error getting local Borg version', error) return From 257678b66f4884c78bf141d4e88e24896eb54383 Mon Sep 17 00:00:00 2001 From: Tobias Hodapp Date: Fri, 24 Nov 2023 18:47:37 +0100 Subject: [PATCH 2/2] Fixed borg -> Borg --- borgmatic/commands/borgmatic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index ca9a3ae..cfe009b 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -75,7 +75,7 @@ def run_configuration(config_filename, config, arguments): try: local_borg_version = borg_version.local_borg_version(config, local_path) - logger.debug(f'{config_filename}: borg {local_borg_version}') + logger.debug(f'{config_filename}: Borg {local_borg_version}') except (OSError, CalledProcessError, ValueError) as error: yield from log_error_records(f'{config_filename}: Error getting local Borg version', error) return