Fixed a logging bug in events/EventManager