add search to log