-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getLogger Irritation with regular CLI #55
Comments
I'm open to reintroducing on-the-fly
But is that such a bad thing? Reusing the OCR-D logging framework gives configuration files and globally overrideable log levels. My point is that it would benefit all things OCR-D if we improved the versatility/usability of the logging framework. |
Yes, this errror message bothered me too, last time I used the non-OCR-D CLI. I'll look into it |
@kba Totally agree in the realms of OCR-D. But this time its all about dinglehopper's non-OCR-D-CLI. |
We now just call ocrd_utils' |
To stdout, it seems. |
Issue description
Using recent version (1778b3) of dinglehopper complains because of OCR-D-Logger
Even though all
report
-files are being generated, the output is somehow irritating.Steps to reproduce the issue
dinglehopper 1300565-gt.xml 1300565.xml
(attached)What's the expected result?
Additional details
The Problem could be worked around if you use OCR-D's
initLogging
also within the context of the non-OCR-D-CLI, adding incli.py
something like this:Does dinglehopper want to stick with the OCR-D-Logger also in potential non-OCR-D-contexts? Further, it looks like dinglehopper is currently missing any dedicated logging-configuration, which couples it rather strong not only to the OCR-D-Logging-Logic, but also to it's configuration.
1300565-test.zip
The text was updated successfully, but these errors were encountered: