From a282354fce511f3d8af6ed5587d9edb07d94b59a Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 2 Apr 2024 09:35:35 +0200 Subject: [PATCH] fix: [thehive] fix export logger --- bin/modules/MISP_Thehive_Auto_Push.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/modules/MISP_Thehive_Auto_Push.py b/bin/modules/MISP_Thehive_Auto_Push.py index 9747a69b..b913c350 100755 --- a/bin/modules/MISP_Thehive_Auto_Push.py +++ b/bin/modules/MISP_Thehive_Auto_Push.py @@ -57,7 +57,7 @@ class MISP_Thehive_Auto_Push(AbstractModule): Tag.set_auto_push_status('misp', 'ConnectionError') else: Tag.set_auto_push_status('misp', '') - self.logger.info('MISP Pushed:', tag, '->', item_id) + self.logger.info(f'MISP Pushed: {tag} -> {item_id}') if 'thehive' in self.tags: if tag in self.tags['thehive']: @@ -68,7 +68,7 @@ class MISP_Thehive_Auto_Push(AbstractModule): Tag.set_auto_push_status('thehive', 'Request Entity Too Large') else: Tag.set_auto_push_status('thehive', '') - self.logger.info('thehive Pushed:', tag, '->', item_id) + self.logger.info(f'thehive Pushed: {tag} -> {item_id}') if __name__ == "__main__":