question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Logging Format should include date-information

See original GitHub issue

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 ...

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mweidlingcommented, Jul 21, 2022

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

0reactions
stefanCCScommented, Jul 27, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Customize the time format for Python logging?
I want to have a custom date format, but I want to include the microseconds (or is it milliseconds?). %S is meant to...
Read more >
Log Formatting: 7 Best Practices for Readable Log Files | Scalyr
1. Make Your Log Entries Meaningful With Context · 2. Use a Standard Date and Time Format · 3. Use Local Time +...
Read more >
logging — Logging facility for Python — Python 3.11.1 ...
A Formatter can be initialized with a format string which makes use of knowledge of the LogRecord attributes - such as the default...
Read more >
Log Formats – a (Mostly) Complete Guide - Graylog
A log format is a structured format that allows logs to be machine-readable and easily parsed. This is the power of using structured...
Read more >
10 Python Logging Format Best Practices - CLIMB
The default logging format includes the date and time, the log level, the name of the logger, and the message. This information is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found