fix cache log and improve hit/miss/put coverage