emu_with_event_logging