DavidLiu 3 月之前
父節點
當前提交
618d62ad03
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/core/callcenter/agent.py
  2. 1 1
      src/core/callcenter/esl/handler/channel_answer_handler.py

+ 1 - 1
src/core/callcenter/agent.py

@@ -84,7 +84,7 @@ class AgentEventService:
         called = device_info.called if device_info else None
         is_agent = (device_info and DeviceType.AGENT.code == device_info.device_type) if device_info else False
 
-        self.logger.info('liuwei:debugger::agent_event_channel, event_name=%s, call_id=%s, device_id=%s, is_agent=%s', event_name, call_id, device_id, is_agent)
+        self.logger.info('agent_event_channel, event_name=%s, call_id=%s, device_id=%s, is_agent=%s', event_name, call_id, device_id, is_agent)
         agent = self.data_handle_server.get_agent(saas_id, agent_num)
         if not agent:
             # self.logger.warn("event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called, json.loads(event.serialize('json')))

+ 1 - 1
src/core/callcenter/esl/handler/channel_answer_handler.py

@@ -27,7 +27,7 @@ class ChannelAnswerHandler(EslEventHandler):
     def handle(self, address, event, coreUUID):
         call_id = EslEventUtil.getCallId(event)
         call_info = self.cache.get_call_info(call_id)
-        self.logger.info("liuwei::debugger::answer call_id:%s, call_info:%s, event:%s"% (call_id, call_info, json.loads(event.serialize('json'))))
+        self.logger.info("liuwei::debugger::answer call_id:%s, call_info:%s", call_id, call_info)
         if not call_info:
             return