From b43531b9979681b05bfdc6b573f4b6e74ead2cfa Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 23 Apr 2012 17:22:45 +0100 Subject: Add more logging to cache key computation --- morphlib/cachekeycomputer.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'morphlib/cachekeycomputer.py') 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): -- cgit v1.2.1