Permalink
Browse files

morew logging

  • Loading branch information...
1 parent 0d07715 commit ad8f0ab8ed686be85d34a79eb15a362a660dc5be BuzzTroll committed Sep 7, 2010
@@ -507,6 +507,7 @@ def _deldirs(self, mntpath):
def _guess_offset(self, imagepath):
+ self.c.log.debug("guessing offset for HD image %s" % (imagepath))
if not self.fdisk_path:
raise InvalidConfig("image editing is being requested but that functionality has been disabled for HD images due to the lack of an fdisk program configuration")
@@ -84,6 +84,9 @@ def propagate(self, remote_source, local_absolute_target):
errmsg += ": %d ::: output:\n%s" % (ret, output)
self.c.log.error(errmsg)
raise UnexpectedError(errmsg)
+ else:
+ self.c.log.error("Successfully ran %. output %s" % (cmd, output))
+
self.c.log.info("Transfer complete.")
def _lt_command(self, local, remote):

0 comments on commit ad8f0ab

Please sign in to comment.