Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
helviojunior committed Jan 31, 2025
1 parent f4c909d commit 3507497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion filecrawler/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ def load_from_arguments():

try:
Tools.get_mime(__file__)
except ImportError:
except ImportError as e:
if Configuration.verbose >= 3:
Tools.print_error(e)

Color.pl('{!} {R}error: failed to find libmagic. Check your installation{W}\r\n')
Color.pl(' {O}Linux: apt-get install libmagic-dev{W}')
Color.pl(' {O}MacOS: brew install libmagic{W}')
Expand Down
2 changes: 1 addition & 1 deletion scripts/config_elk.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def represent_data(self, data):
'http.host': '0.0.0.0',
'http.port': 9200,
'cluster.name': 'filecrawler',
'node.name': 'elk',
'node.name': 'filecrawler',
'cluster.initial_master_nodes': ['filecrawler'],
'path.data': '/u01/es_data/',
'cluster.routing.allocation.disk.watermark.high.max_headroom': '6gb',
Expand Down

0 comments on commit 3507497

Please sign in to comment.