add more logs

This commit is contained in:
2024-05-10 00:33:55 +02:00
parent a5e3366de6
commit bb08f2d4fa
2 changed files with 2 additions and 1 deletions
@@ -231,6 +231,7 @@ class AppointmentRequestSender(threading.Thread):
for mail in _mail_list:
for _contact in self.list_to_retrieve_mails:
if _contact.mail == mail.mail:
self.logger.info("will get mail from " + mail.mail)
_mail_list_filtered.append(mail)
self.logger.info("will call find_links_to_validate_from_mail_list, size = " + str(len(_mail_list_filtered)))
find_links_to_validate_from_mail_list(_mail_list_filtered)
+1 -1
View File
@@ -206,7 +206,7 @@ def validate_all_links():
# get the first 50 links
_first_50_links = all_link_list[0:50]
_queue_name = TEST_QUEUE
_segment_number = 10
_segment_number = 20
last_thread = None
for i in range(0, _segment_number):
logger.info("{}:{} links to validate".format(threading.currentThread().name, len(_first_50_links)))