Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbose logging CLI flag #6405

Open
Chriscbr opened this issue May 3, 2024 · 2 comments
Open

Verbose logging CLI flag #6405

Chriscbr opened this issue May 3, 2024 · 2 comments
Labels
⌨️ cli CLI ✨ enhancement New feature or request needs-discussion Further discussion is needed prior to impl 🧪 testing

Comments

@Chriscbr
Copy link
Contributor

Chriscbr commented May 3, 2024

Use Case

For debugging issues related to the lifecycle of simulator resources, serialization, or just to get more info in general, it's possible to stream verbose logs when running wing tests by passing the DEBUG=verbose environment variable

DEBUG=verbose wing test

It would be convenient if there was a dedicated CLI flag for this, like --verbose, --debug=verbose, or --loglevel verbose etc.

Proposed Solution

No response

Implementation Notes

No response

Component

CLI

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.
@Chriscbr Chriscbr added ✨ enhancement New feature or request ⌨️ cli CLI 🧪 testing needs-discussion Further discussion is needed prior to impl labels May 3, 2024
@Chriscbr
Copy link
Contributor Author

Chriscbr commented May 3, 2024

@MarkMcCulloh thoughts?

@MarkMcCulloh
Copy link
Contributor

My pick would be --traceLevel or --logLevel, I don't have a strong feeling though.
As a side point, the DEBUG env is more of a compiler internal thing so I think whatever flag is added here should work perpendicular to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌨️ cli CLI ✨ enhancement New feature or request needs-discussion Further discussion is needed prior to impl 🧪 testing
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

2 participants