-
Notifications
You must be signed in to change notification settings - Fork 31
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
Logging Format should include date-information #894
Comments
You can adapt the logging with a dedicated logging configuration. For example, copy the bundled example configuration to -datefmt=%H:%M:%S
+datefmt=%Y-%m-%d %H:%M:%S and you get date-stamped log messages. |
Oh, nice :-) |
There is also documentation available here. We should also add a section on the website about this in order to make the info more accessible |
I have tried out to put ocrd_logging.conf in $(HOME) - see
But I still get the output without date: Any idea? |
The It should look like this:
|
yes, that's it - many thanks! @kba: Feel free to close this issue, or keep in open in case you would like to track this documentation topic proposed by @mweidling |
Hi,
I put this issue here, because I guess it is a "core" feature. If not, please feel free to "move" this to the correct place (or tell me, where to put it).
In the logging output of a process you see something like this:
16:16:01.789 INFO processor.OcropyBinarize ...
If the process is running for some days, you cannot see the day, this logging output belongs to.
It would be much better to have something like:
2022-07-21 16:16:01.789 INFO processor.OcropyBinarize ...
The text was updated successfully, but these errors were encountered: