Emit one log message per handler invocation

This also adds the event ID to the log statements