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.

Use a proper logging library

  • where/what/how raising errors & messages #606
  • change every console.log into proper logger calls

@0x2b3bfa0 moved the rest of items to a separate issue, as @casperdcl suggested in the past weekly meeting.

Click to see the original text...

nice to have

(put in separate issue)

  • wrap specific CI vendor capabilities
  • heartbeats (in openmetrics format?)
  • file configurable
  • integration with studio

Edit: Coming back to this we should now, with the 0.3.0 release, attack this. The proposal would be use winston and a configurable file. We can also collect runner heartbeat using openmetrics format

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
0x2b3bfa0commented, Sep 2, 2021

I plan to create a new follow-up epic from #703 and we can include all the relevant issues there.

1reaction
DavidGOrtegacommented, May 21, 2021

Yeah, JS and its weirdness. Mostly all the logging libs do this internally

Read more comments on GitHub >

github_iconTop Results From Across the Web

better-logging - npm
better -logging aims to improve the default logging experience of any node application, it is designed to be a drop in replacement for...
Read more >
13 best practices to improve your logging | cogito-engineering
This article provides some insights on how to improve your logging practices in order to make troubleshooting sessions more productive.
Read more >
Logging Best Practices: The 13 You Should Know - DataSet
Logging Best Practices: The 13 You Should Know · 1. Don't Write Logs by Yourself (AKA Don't Reinvent the Wheel) · 2. Log...
Read more >
better-logging | Read the Docs
better -logging · Versions · Repository · Project Slug · Last Built · Maintainers · Home Page · Badge · Tags.
Read more >
9 Node.js Logger Libraries You can Try for Better Logging
Are you struggling with debugging your code? Are you searching for some logging solutions that might make debugging easier?
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