Fixed a glitch with the logger.