Add some logging to auctions, and fix some logic in it.