Fixes #169. Set logging decorator to all caches.