Browse Source

讯飞asr测试,debug

Davidliu 1 month ago
parent
commit
4140a6ce48
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/core/callcenter/esl/client.py

+ 2 - 2
src/core/callcenter/esl/client.py

@@ -693,7 +693,7 @@ class OutboundClient:
             with self.app.app_context():
                 phones = Whitelist.query.filter_by(del_flag=0).all()
                 self.whitelist = [(phone.phone, phone.type) for phone in phones]
-                self.logger.info("Whitelist updated: %s", self.whitelist)
+                self.logger.debug("Whitelist updated: %s", self.whitelist)
 
         def get_whitelist(self):
             return self.whitelist
@@ -720,7 +720,7 @@ class OutboundClient:
             with self.app.app_context():
                 buckets = Bucket.query.filter_by(eid='001').all()
                 self.buckets = buckets
-                self.logger.info("bucket updated: %s", self.buckets)
+                self.logger.debug("bucket updated: %s", self.buckets)
 
     def start(self, HOST='0.0.0.0', PORT=8084, agent=None):
         # HOST, PORT = "0.0.0.0", 8084