Improve logging around transaction lifecycle