فهرست منبع

fix: 统一通过log输出日志

许家凯 1 سال پیش
والد
کامیت
136eb0c51b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      JobMain.py

+ 1 - 1
JobMain.py

@@ -48,7 +48,7 @@ async def on_message_received(producer, msg: IncomingMessage):
 
 
 async def main_for_rabbitmq():
-    log.info("start job. Listening queue :", source_topic, "send topic:", target_topic, "max concurrency:",
+    log.info("start job. Listening queue : %s , send topic: %s , max concurrency: %s", source_topic, target_topic,
              max_concurrency)
 
     pool = AsyncPool(max_concurrency)