Another fix for logging.