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): ...@@ -224,7 +224,7 @@ class Crawler(object):
msg = ("The crawler has no matching rules for and is thus " msg = ("The crawler has no matching rules for and is thus "
"ignoring:\n{}".format(item)) "ignoring:\n{}".format(item))
logging.warning(msg, extra={"identifier": str(item), logger.warning(msg, extra={"identifier": str(item),
'category': "matches"}) 'category': "matches"})
if len(matches[idx]) > 1: if len(matches[idx]) > 1:
...@@ -233,7 +233,7 @@ class Crawler(object): ...@@ -233,7 +233,7 @@ class Crawler(object):
+ "\tRecordTypes:\t" + ", ".join( + "\tRecordTypes:\t" + ", ".join(
matches[idx])+"\n") matches[idx])+"\n")
logging.warning(msg, extra={"identifier": str(item), logger.warning(msg, extra={"identifier": str(item),
'category': "matches"}) 'category': "matches"})
def cached_find_identifiables(self, identifiables): 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