better log message for searching