Setup better logging.