mirror of https://github.com/CIRCL/AIL-framework
Minor logs modifications
parent
1df2ffd094
commit
37033ca3a6
|
@ -183,7 +183,7 @@ def main():
|
|||
if dupl != []:
|
||||
PST.__setattr__("p_duplicate", dupl)
|
||||
PST.save_attribute_redis(r_serv_merge, "p_duplicate", dupl)
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Duplicate", PST.p_source, PST.p_date, PST.p_name,"Detected " + str(len(dupl)))
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Duplicate", PST.p_source, PST.p_date, PST.p_name,"Detected " + str(len(dupl))))
|
||||
|
||||
y = time.time()
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ def main():
|
|||
if MX_values[0] > 10:
|
||||
publisher.warning('{0};{1};{2};{3};{4}'.format("Mails", PST.p_source, PST.p_date, PST.p_name,"Checked "+ str(MX_values[0])+ " e-mails" ))
|
||||
else:
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Mails", PST.p_source, PST.p_date, PST.p_name,"Checked " str(MX_values[0])+ " e-mail(s)" ))
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Mails", PST.p_source, PST.p_date, PST.p_name,"Checked "+ str(MX_values[0])+ " e-mail(s)" ))
|
||||
prec_filename = filename
|
||||
|
||||
else:
|
||||
|
|
|
@ -85,7 +85,7 @@ def main():
|
|||
PST.save_attribute_redis(r_serv1, channel, (A_values[0],list(A_values[1])))
|
||||
|
||||
pprint.pprint(A_values)
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Url", PST.p_source, PST.p_date, PST.p_name, "Checked "+str(A_values[0])+" URL" ))
|
||||
publisher.info('{0};{1};{2};{3};{4}'.format("Url", PST.p_source, PST.p_date, PST.p_name, "Checked " + str(A_values[0]) + " URL" ))
|
||||
prec_filename = filename
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue