Remove the logger and connect to the event dispatcher