adds logging to cache in development