From e4982aff37b9eda9dd419a50ba1a993fbbd76e0a Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Thu, 24 Sep 2020 10:25:47 +0200 Subject: [PATCH] getLogger per method --- ocrd_calamari/recognize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrd_calamari/recognize.py b/ocrd_calamari/recognize.py index cf57e62..9884433 100644 --- a/ocrd_calamari/recognize.py +++ b/ocrd_calamari/recognize.py @@ -27,7 +27,6 @@ from ocrd_utils import ( from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL TOOL = 'ocrd-calamari-recognize' -log = getLogger('processor.CalamariRecognize') class CalamariRecognize(Processor): @@ -51,6 +50,7 @@ class CalamariRecognize(Processor): """ Performs the recognition. """ + log = getLogger('processor.CalamariRecognize') assert_file_grp_cardinality(self.input_file_grp, 1) assert_file_grp_cardinality(self.output_file_grp, 1)