add logging to index cache