summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmorph4
1 files changed, 4 insertions, 0 deletions
diff --git a/morph b/morph
index c41610c6..75998daa 100755
--- a/morph
+++ b/morph
@@ -870,6 +870,10 @@ class Morph(cliapp.Application):
# print the command line
msg('# %s' % ' | '.join(commands))
+
+ # Log the environment.
+ for name in kwargs['env']:
+ logging.debug('environment: %s=%s' % (name, kwargs['env'][name]))
# run the command line
return cliapp.Application.runcmd(self, argv, *args, **kwargs)