Add a logger event subscriber in order to log using the event dispatcher feature