added search logging (for cool stats!)