supeng 4 mesiacov pred
rodič
commit
4aead0ece6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      longvideoapi/utils.py

+ 1 - 1
longvideoapi/utils.py

@@ -353,7 +353,7 @@ def run_command(ecs_client, instance_ids, command):
         request.set_CommandContent(command)
         request.set_InstanceIds(instance_id_list)
         response = send_request(ecs_client=ecs_client, request=request)
-        logging.info(response)
+        logging.info(f"run_command count:{len(instance_id_list)} instance_id_list:{instance_id_list} response:{response}")
 
 
 def send_file_to_ecs(ecs_client, instance_id_list, target_dir, name, content):