Skip to content

Commit

Permalink
add print again ...
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 6, 2024
1 parent dfbdf10 commit 20e2945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logprep/processor/domain_resolver/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def _add_resolve_infos_to_event(self, event, rule, resolved_ip):

def _resolve_ip(self, domain, hash_string=None):
try:
print(socket.gethostbyname)
result = self._thread_pool.apply_async(socket.gethostbyname, (domain,))
resolved_ip = result.get(timeout=self._config.timeout)
return resolved_ip
Expand Down

0 comments on commit 20e2945

Please sign in to comment.