Skip to content
Snippets Groups Projects
Commit d646cd3b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Fix: logging call

parent 83b4f397
Branches
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ class Crawler(object):
msg = ("The crawler has no matching rules for and is thus "
"ignoring:\n{}".format(item))
logging.warning(msg, extra={"identifier": str(item),
logger.warning(msg, extra={"identifier": str(item),
'category': "matches"})
if len(matches[idx]) > 1:
......@@ -233,7 +233,7 @@ class Crawler(object):
+ "\tRecordTypes:\t" + ", ".join(
matches[idx])+"\n")
logging.warning(msg, extra={"identifier": str(item),
logger.warning(msg, extra={"identifier": str(item),
'category': "matches"})
def cached_find_identifiables(self, identifiables):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment