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.

Migrate to Winston for logging

See original GitHub issue

While doing troubleshooting it would be great for the script to actually create log files in the /config dir.

I’ve recently only been relying on the log files within docker which does not have time stamps for at least starts and ends of the script running w/in the container.

Having the creation of a log file would allow for me to view the entire log for each run much easier w/in a text editor

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
afraazalicommented, Jun 21, 2021

Logs are working for me. Appreciate the split up between info, error and verbose. I’ve been running it in a docker container for the last 5 hours or so on 10 min interval with cron. So far no issues.

1reaction
mmgoodnowcommented, Jun 16, 2021

It has been moved to the top of the list. Hoping to get it done today

Read more comments on GitHub >

github_iconTop Results From Across the Web

winston/UPGRADE-3.0.md at master - GitHub
A logger for just about everything. Contribute to winstonjs/winston development by creating an account on GitHub.
Read more >
Migrate to winston 3 and Extend winston logger - Stack Overflow
I want to extend the Winston logger to my custom logger. Where I updated the log method before calling the internal method.
Read more >
Node.js Logging with Winston - Reflectoring
Winston loggers can be generated using the default logger winston() , but the simplest method with more options is to create your own...
Read more >
A Complete Guide to Winston Logging in Node.js - Better Stack
Learn how to start logging with Winston in Node.js and go from basics to best practices in no time. ... Next, import it...
Read more >
Logging with Winston and Node.js - Section.io
Logging channels (transports). A good logger has a different way of choosing your log output destination. With Winston, you can send and save ......
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