#4 - Add logging for search operations