# HG changeset patch # User Ludovic Chabant # Date 1511763670 28800 # Node ID cd0345e4001ed494c47ac5bb2a59c1f60419e6cb # Parent 09c3d415d9e591fe634979d87b9ac87616146123 internal: Remove debug logging for the cache class. diff -r 09c3d415d9e5 -r cd0345e4001e piecrust/cache.py --- a/piecrust/cache.py Sat Nov 25 23:01:48 2017 -0800 +++ b/piecrust/cache.py Sun Nov 26 22:21:10 2017 -0800 @@ -204,7 +204,6 @@ fs_key = _make_fs_cache_key(key) if (fs_key not in self._invalidated_fs_items and self.fs_cache.isValid(fs_key, fs_cache_time)): - logger.debug("'%s' found in file-system cache." % key) with self.fs_cache.openRead(fs_key, mode='rb') as fp: item = pickle.load(fp) self.cache.put(key, item) @@ -212,7 +211,6 @@ return item # Look into the mem-cache. - logger.debug("'%s' not found in cache, must build." % key) item = item_maker() self.cache.put(key, item) self._last_access_hit = False