Improved logging of event ids and acks.