Add some more debug output relating to periodic cache writeouts