Fixed not-logging issue in the gaze logger.