Changes to logging to make things easier to read.