instead of logging, emit an event, so that whoever is using optimus can log out what they want.