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

Merge branch 'logging-setup' into tmp

parents 6f6ea998 d646cd3b
No related branches found
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