adding log statement for checking cache hit