More logging for get_by_sites