Added logging to monkey_select