Added the facility to log retrieval