Changed get_all_logging_info and get_all_labels to work with from name or id