[PATCH 1/2] LoggingCtl: add get_index and prepend option to set_recipe