Skip to content

Commit

Permalink
getLogger per method
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Sep 24, 2020
1 parent bb9b1ab commit e4982af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_calamari/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL

TOOL = 'ocrd-calamari-recognize'
log = getLogger('processor.CalamariRecognize')


class CalamariRecognize(Processor):
Expand All @@ -51,6 +50,7 @@ def process(self):
"""
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)
Expand Down

0 comments on commit e4982af

Please sign in to comment.