Procházet zdrojové kódy

Add configuration filename to "Successfully ran configuration file" log message (#1051).

Dan Helfman před 2 měsíci
rodič
revize
d5d04b89dc
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 0
      NEWS
  2. 1 1
      borgmatic/commands/borgmatic.py

+ 1 - 0
NEWS

@@ -25,6 +25,7 @@
  * #1048: Fix a "no such file or directory" error in ZFS, Btrfs, and LVM hooks with nested
    directories that reside on separate devices/filesystems.
  * #1050: Fix a failure in the "spot" check when the archive contains a symlink.
+ * #1051: Add configuration filename to "Successfully ran configuration file" log message.
 
 1.9.14
  * #409: With the PagerDuty monitoring hook, send borgmatic logs to PagerDuty so they show up in the

+ 1 - 1
borgmatic/commands/borgmatic.py

@@ -909,7 +909,7 @@ def collect_configuration_run_summary_logs(configs, config_paths, arguments):
                     dict(
                         levelno=logging.INFO,
                         levelname='INFO',
-                        msg='Successfully ran configuration file',
+                        msg=f'{config_filename}: Successfully ran configuration file',
                     )
                 )
                 if results: