Proposal: refactor logging, capture for dashboard recordings, output to file, serialize browser console logs
See original GitHub issueMore 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
andperformance
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
forinternal:log
perhaps - Start capturing performance related data in logs
Issue Analytics
- State:
- Created 5 years ago
- Reactions:25
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI this (closed) issue is still referenced from the FAQ:
https://docs.cypress.io/faq/questions/using-cypress-faq/#Can-I-print-the-list-of-commands-from-a-test-in-the-terminal
@jrr Thanks, updating the docs.