added logging for fired events.