Fixing a warning in the logging.