Added search logging