summaryrefslogtreecommitdiff
path: root/morphlib/stagingarea.py
diff options
context:
space:
mode:
authorDan Firth <dan.firth@codethink.co.uk>2013-10-04 13:18:23 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2013-10-11 10:29:06 +0100
commit31ca4d455d1bbce69c6dc461dbd506b3523ac2d9 (patch)
treeba2c0dd136c9781be6d7d0f69d81dab76f0e0896 /morphlib/stagingarea.py
parentdf64e4300d7b39c29ce75273196a7894c86a98a9 (diff)
downloadmorph-31ca4d455d1bbce69c6dc461dbd506b3523ac2d9.tar.gz
Added chunkname prefix to some elements of the debug log.
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r--morphlib/stagingarea.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py
index 7d034ff2..3cd3818c 100644
--- a/morphlib/stagingarea.py
+++ b/morphlib/stagingarea.py
@@ -156,8 +156,8 @@ class StagingArea(object):
'''
- logging.debug('Installing artifact %s' %
- getattr(handle, 'name', 'unknown name'))
+ self._app.status(msg='Installing artifact %s' %
+ getattr(handle, 'name', 'unknown name'))
chunk_cache_dir = os.path.join(self._app.settings['tempdir'], 'chunks')
unpacked_artifact = os.path.join(
@@ -296,7 +296,7 @@ class StagingArea(object):
if not self.use_chroot:
do_not_mount_dirs += [temp_dir]
- logging.debug("Not mounting dirs %r" % do_not_mount_dirs)
+ self._app.status(msg="Not mounting dirs %r" % do_not_mount_dirs)
real_argv = ['linux-user-chroot', '--chdir', cwd, '--unshare-net']
for d in morphlib.fsutils.invert_paths(os.walk(chroot_dir),