Add a pretty printer to replace the crappy previous logging.