Altered the way events are logged.