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.

Proposal: refactor logging, capture for dashboard recordings, output to file, serialize browser console logs

See original GitHub issue

More comprehensive proposal is needed but summary is this:

  • Refactor existing debug / log implementation
  • Create logger wrapper utility to manage all logic
  • Route debug, console.log and performance data through this utility
  • Enable silencing all node based console.log per https://github.com/cypress-io/cypress/issues/2071
  • Capture browser console methods per https://github.com/cypress-io/cypress/issues/700
  • Write all logs to an output.log per project in AppData
  • Persist logs on recorded dashboard runs
  • Enable changing the logs folder via some CLI flag like --logs-folder=/path/to/logs
  • Fix morgan output always appearing
  • Expose a pluginEvent for internal:log perhaps
  • Start capturing performance related data in logs

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:25
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jrrcommented, Mar 23, 2021
0reactions
jennifer-shehanecommented, Apr 28, 2021

@jrr Thanks, updating the docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to capture Chrome browser logs - Arreya Digital Signage
Right-click in the list of entries loaded and select 'Save as HAR with Content' to download the '.har' output file. Chrome console log....
Read more >
Fix list for IBM WebSphere Application Server V8.5
IBM WebSphere Application Server provides periodic fixes for the base and Network Deployment editions of release V8.5. The following is a complete listing ......
Read more >
Writing, Viewing, and Responding to Logs | Cloud Functions ...
Logs written to stdout or stderr will appear automatically in the Google Cloud console. For more advanced logging, use the Cloud Logging client...
Read more >
REST API Developer Guide
REST API is based on the usage of resources—pieces of data in Salesforce, such as records, collections of records, query results, metadata,.
Read more >
Jenkins User Handbook
Direct console log output to the file /var/log/jenkins/jenkins.log. Check this file if you ... Access this port with your browser to start configuration....
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