events: add some logging helpers so we can observe the eventing code