Added the option to select what events should the event logger listen to