add log for cache