Changed log generation code to make logs fit better in the new space.