diff --git a/storage/backups/borg/backup.py b/storage/backups/borg/backup.py
index ddd87fb..dae8962 100755
--- a/storage/backups/borg/backup.py
+++ b/storage/backups/borg/backup.py
@@ -273,6 +273,7 @@ class Backup(object):
import importlib
_orig_path = sys.path
for plugin in repo['plugins']:
+ logging.debug('Initializing plugin: {0}'.format(plugin))
if repo['plugins'][plugin]['path']:
sys.path.insert(1, os.path.abspath(os.path.expanduser(repo['plugins'][plugin]['path'])))
optools_tmpmod = importlib.import_module(plugin, package = None)
@@ -283,6 +284,7 @@ class Backup(object):
del(sys.modules[plugin])
del(optools_tmpmod)
sys.path = _orig_path
+ logging.debug('Finished plugin: {0}'.format(plugin))
# This is where we actually do the thing.
_cmd = [self.borgbin,
'--log-json',
diff --git a/storage/backups/borg/sample.config.xml b/storage/backups/borg/sample.config.xml
index d271021..14da14f 100644
--- a/storage/backups/borg/sample.config.xml
+++ b/storage/backups/borg/sample.config.xml
@@ -41,8 +41,8 @@
/usr/local/bin/someprep.sh