Davidliu 1 сар өмнө
parent
commit
9d60977583
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/core/voip/bot.py

+ 2 - 2
src/core/voip/bot.py

@@ -579,13 +579,13 @@ class AsyncJob(pj.PendingJob):
         self.app = app
         self.logger = app.logger
         self.val = RandomIntVal()
-        self.logger.warn("Job created id:", id(self), "value:", self.val.value)
+        self.logger.warn("Job created id: %s, value: %s", id(self), self.val.value)
 
     def execute(self, is_pending):
         self.logger.warn("Executing job value:", self.val.value, is_pending)
 
     def __del__(self):
-        self.logger.warn("Job deleted id:", id(self), "value:", self.val.value)
+        self.logger.warn("Job deleted id:%s, value:%s", id(self), self.val.value)
 
 @singleton_keys
 class BotAgent: