Skip to content
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

Fix/enhance configuration #630

Merged
merged 5 commits into from
Oct 20, 2020

Conversation

M3ssman
Copy link
Contributor

@M3ssman M3ssman commented Oct 20, 2020

Some draft regarding #621

Copy link
Member

@kba kba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@@ -52,6 +53,19 @@ handlers=consoleHandler
#handlers=fileHandler
#qualname=ocrd.workspace


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PIL restriction from the builtin config omitted because it is INFO anyway, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, since it is the default level. But If you mind, I can add this as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall ocrd be integrated, too?
Be aware, this might have side-effects, because it is the far most top ocrd logging channel.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall ocrd be integrated, too?
Be aware, this might have side-effects, because it is the far most top ocrd logging channel.

Since we don't specify logging behavior for ocrd* in the builtin config, we should not in the config file.

I also would leave the [logger_ocrd_workspace] commented out as an example - setting this to DEBUG by default will be very verbose.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense, I adopt your suggestions asap

@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #630 into master will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
+ Coverage   84.82%   84.89%   +0.06%     
==========================================
  Files          52       52              
  Lines        2952     2952              
  Branches      575      575              
==========================================
+ Hits         2504     2506       +2     
+ Misses        334      332       -2     
  Partials      114      114              
Impacted Files Coverage Δ
ocrd_utils/ocrd_utils/logging.py 91.89% <0.00%> (+2.70%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8973513...9d626fc. Read the comment docs.

@kba kba merged commit 9d626fc into OCR-D:master Oct 20, 2020
@kba kba deleted the fix/enhance-configuration branch October 20, 2020 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants