Skip to content

Commit

Permalink
fix: [thehive] fix export logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Apr 2, 2024
1 parent 414b5af commit a282354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/modules/MISP_Thehive_Auto_Push.py
Expand Up @@ -57,7 +57,7 @@ def compute(self, message):
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']:
Expand All @@ -68,7 +68,7 @@ def compute(self, message):
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__":
Expand Down

0 comments on commit a282354

Please sign in to comment.