Commit af31f75d authored by Mr Phong's avatar Mr Phong

add site name

parent 549c20a5
...@@ -50,7 +50,7 @@ with open(log_file, 'a') as file_output: ...@@ -50,7 +50,7 @@ with open(log_file, 'a') as file_output:
sys.stdout = file_output sys.stdout = file_output
for index, row in df_host.iterrows(): for index, row in df_host.iterrows():
logger.info("Connect to host: " + str(row['host'])) logger.info("Connect to site " + str(row['name']) + " with host " + str(row['host']))
if(str(row['name'])==''): if(str(row['name'])==''):
row["session_log"]=output_dir+str(index)+'.txt' row["session_log"]=output_dir+str(index)+'.txt'
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment