add log statement with current cache size