Mercurial > piecrust2
changeset 1009:cd0345e4001e
internal: Remove debug logging for the cache class.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 26 Nov 2017 22:21:10 -0800 |
parents | 09c3d415d9e5 |
children | 501bd4ab7e06 |
files | piecrust/cache.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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