|
@@ -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:
|