浏览代码

添加打印信息

locky 2 周之前
父节点
当前提交
f1c8dc4cbf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/Snapshot.py

+ 1 - 1
controller/Snapshot.py

@@ -171,7 +171,7 @@ class SnapshotView(View):
                 }
                 }
             }
             }
 
 
-            LOGGER.info('快照异步事件请求: url:{},data:{}, headers, time_sample:{}'.format(
+            LOGGER.info('快照异步事件请求: url:{},data:{}, headers:{}, time_sample:{}'.format(
                 api_uri, payload_json, headers, time_sample))
                 api_uri, payload_json, headers, time_sample))
             response = requests.post(api_uri, json=payload_json, headers=headers, timeout=30)
             response = requests.post(api_uri, json=payload_json, headers=headers, timeout=30)
             LOGGER.info('快照异步事件请求响应: {}'.format(response.json()))
             LOGGER.info('快照异步事件请求响应: {}'.format(response.json()))