]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Log debug info of commands actually executed.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Tue, 24 May 2011 20:01:46 +0000 (13:01 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Tue, 24 May 2011 20:01:46 +0000 (13:01 -0700)
orchestra/run.py

index a7fdfd518957535915749ef138d582e01f4cef4c..da740957c01dc34e7f6b361ece4bc80a0c090c3f 100644 (file)
@@ -31,6 +31,7 @@ def execute(client, args):
     block until the exit status is available.
     """
     cmd = ' '.join(pipes.quote(a) for a in args)
+    log.debug('Running: {cmd!r}'.format(cmd=cmd))
     (in_, out, err) = client.exec_command(cmd)
 
     def get_exitstatus():