''

def do(self):

    self.logger.close()
    self.logger.connect(self.extaddr, self.extport)
    self.logger.registerToLoggerForWeb(self.uid, self.components_check, self.logtype, self.globalOrder, self.groupOrder, self.searchDate, self.keystr)
    def onReceivedLog(logs):
        new_logs = list((set(logs) ^ set(self.previous_log)))
        for e in new_logs:
            self.wsInst.send(e)
        self.previous_log = logs
    self.logger.receiveLog(onReceivedLog, True)
