cache metric logging