mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
chg: [Retro Hunt] add logs
This commit is contained in:
parent
f1d4dd8af0
commit
99a3d248e1
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,8 @@ class Retro_Hunt(AbstractModule):
|
||||||
# First launch
|
# First launch
|
||||||
# restart
|
# restart
|
||||||
rule = Tracker.get_retro_hunt_task_rule(task_uuid, r_compile=True)
|
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)
|
timeout = Tracker.get_retro_hunt_task_timeout(task_uuid)
|
||||||
sources = Tracker.get_retro_hunt_task_sources(task_uuid, r_sort=True)
|
sources = Tracker.get_retro_hunt_task_sources(task_uuid, r_sort=True)
|
||||||
|
|
||||||
|
@ -86,6 +88,7 @@ class Retro_Hunt(AbstractModule):
|
||||||
# # TODO: Filter previous item
|
# # TODO: Filter previous item
|
||||||
for dir in dirs_date:
|
for dir in dirs_date:
|
||||||
print(dir)
|
print(dir)
|
||||||
|
self.redis_logger.warning(f'{self.module_name}, Retro Hunt searching in directory {dir}')
|
||||||
l_obj = Tracker.get_items_to_analyze(dir)
|
l_obj = Tracker.get_items_to_analyze(dir)
|
||||||
for id in l_obj:
|
for id in l_obj:
|
||||||
#print(f'{dir} / {id}')
|
#print(f'{dir} / {id}')
|
||||||
|
|
Loading…
Reference in a new issue