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

Add a way to stream logs during the diagnose subcommand #1285

Open
ahoppen opened this issue May 13, 2024 · 0 comments
Open

Add a way to stream logs during the diagnose subcommand #1285

ahoppen opened this issue May 13, 2024 · 0 comments

Comments

@ahoppen
Copy link
Collaborator

ahoppen commented May 13, 2024

The OS Log store often doesn’t contain all log entries at lower log levels anymore. I think it would be interesting to start the diagnose subcommand with a prompt asking the user to reproduce the issue while we run log stream --predicate 'subsystem CONTAINS "sourcekit-lsp"' --source --level debug.

While doing this, we might also consider adding --source to the command with which we get the previous OSLog entries.

rdar://126622964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant