ADDED: search string logging