misc: Add some extra info and debug statements.
[matthijs/projects/backupninja.git] / src / lib / backupninja / action.py
index 66fc5f364830f5b5221db05e44eab691a6115534..e110d933d2aa521cbc7b334f3ad2bb072c28758f 100644 (file)
@@ -33,6 +33,7 @@ def run_all_actions(opts, global_config):
     opts are the parsed commandline options, global_config is the parsed
     global configuration.
     """
+    log.info('Running all actions')
     try:
         actions = config.list_actions(opts)
     except OSError, e:
@@ -49,6 +50,7 @@ def run_action(action, opts, global_config):
     Run a single action. opts are the parsed commandline options,
     global_config is the parsed global configuration.
     """
+    log.info('Running action "%s"', action)
     # Split the action filename
     parts = action.split('.', 2)
     if (len(parts) < 2):