Fixed a stupid thing with the logging.