Add logging to main_entry_decide