bashlib: Pass log level to ocrd calls and add command to log spec-conformant
See original GitHub issueE.g.
$ocrd-olena-binarize -l WARN -I MAX -O WOLF,WOLF-IMG -m mets.xml -p '{"impl":"wolf"}'
12:32:31.776 INFO ocrd.workspace - Saving mets '/data/2019-12-04/mets.xml'
That should not log. Whereas -L DEBUG
should log more verbose.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Logging HOWTO — Python 3.11.1 documentation
Logging is a means of tracking events that happen when some software runs. The software's developer adds logging calls to their code to...
Read more >how to set logging level from command line - Stack Overflow
The level should be a variable from logging not a string, logging. ... representation as well and you can just pass in 'DEBUG'...
Read more >Simple logging - EF Core | Microsoft Learn
Logging from an EF Core DbContext using LogTo. ... LogTo can be passed a higher minimum level to filter out some messages.
Read more >Python Logging Guide - Best Practices and Hands-on Examples
Line 1: import the logging module. Line 2: create a basicConf function and pass some arguments to create the log file. In this...
Read more >How to manage logging — pytest documentation
pytest captures log messages of level WARNING or above automatically and displays them in their own section for each failed test in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That would not be a problem IMHO.
True. I haven’t forgotten about #353 either.
You’re right being not right initially. Or something. Anyway, it’s a good idea, let’s do that.