added loglisten.