chg: [Retro Hunt] add logs

pull/586/head
Terrtia 2022-06-16 16:19:44 +02:00
parent f1d4dd8af0
commit 99a3d248e1
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,8 @@ class Retro_Hunt(AbstractModule):
# First launch
# restart
rule = Tracker.get_retro_hunt_task_rule(task_uuid, r_compile=True)
self.redis_logger.warning(f'{self.module_name}, Retro Hunt rule {rule}')
timeout = Tracker.get_retro_hunt_task_timeout(task_uuid)
sources = Tracker.get_retro_hunt_task_sources(task_uuid, r_sort=True)
@ -86,6 +88,7 @@ class Retro_Hunt(AbstractModule):
# # TODO: Filter previous item
for dir in dirs_date:
print(dir)
self.redis_logger.warning(f'{self.module_name}, Retro Hunt searching in directory {dir}')
l_obj = Tracker.get_items_to_analyze(dir)
for id in l_obj:
#print(f'{dir} / {id}')