summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-03-25 20:04:15 +0200
committerLars Wirzenius <liw@liw.fi>2017-03-25 20:04:15 +0200
commite5e20233ecdc5e4b84a961ccfc0723def7273aa1 (patch)
tree0d79cf17125c08b1015d647c85b9b13a12b49366
parentd284bce73f238526f0455b9c52f730187f211ec6 (diff)
downloadvmdb2-e5e20233ecdc5e4b84a961ccfc0723def7273aa1.tar.gz
Log what steps, teardowns are run
-rw-r--r--vmdb/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmdb/app.py b/vmdb/app.py
index 2bd4f08..f29b7b3 100644
--- a/vmdb/app.py
+++ b/vmdb/app.py
@@ -62,6 +62,7 @@ class Vmdb2(cliapp.Application):
try:
for step in steps:
+ logging.info('Running step: %r', step)
steps_taken.append(step)
expanded_step = self.expand_step_spec(step)
runner = self.step_runners.find(step)
@@ -75,6 +76,7 @@ class Vmdb2(cliapp.Application):
def run_teardowns(self, steps_taken, state):
for step in reversed(steps_taken):
+ logging.info('Running teardown: %r', step)
expanded_step = self.expand_step_spec(step)
runner = self.step_runners.find(step)
runner.teardown(expanded_step, self.settings, state)