summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/cachekeycomputer.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py
index 28406b55..f9c93b9f 100644
--- a/morphlib/cachekeycomputer.py
+++ b/morphlib/cachekeycomputer.py
@@ -31,6 +31,10 @@ class CacheKeyComputer(object):
"BOOTSTRAP", "CFLAGS")])
def compute_key(self, artifact):
+ logging.debug('computing cache key for artifact %s from source '
+ 'repo %s, sha1 %s, filename %s' %
+ (artifact.name, artifact.source.repo_name,
+ artifact.source.sha1, artifact.source.filename))
return self._hash_id(self.get_cache_id(artifact))
def _hash_id(self, cache_id):