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

spk ls -v and debug messages #1042

Open
jrray opened this issue Jun 11, 2024 · 0 comments
Open

spk ls -v and debug messages #1042

jrray opened this issue Jun 11, 2024 · 0 comments
Labels
agenda item Items to be brought up at the next dev meeting

Comments

@jrray
Copy link
Collaborator

jrray commented Jun 11, 2024

Recent changes to spk ls have added some (developer-oriented?) debug messages that appear any time spk ls -v is used. The -v flag on the ls command is in common use to see extra details about builds. Some separation between seeing this extra information and seeing debug messages is needed.

A similar situation exists for solver output, extra -v's are needed to see more details from the solver, but increasing verbosity also enables debug or trace messages that end users would not be interested in seeing.

One possible direction to go is to introduce a --debug flag as an alternative to making --verbose do double duty when configuring logging. Another option is to make more use of output channels in the tracing crate and keep developer-oriented out of the default channel and make use of RUST_LOG to enable those categories when needed. End users would generally never see these kinds of log messages.

@jrray jrray added the agenda item Items to be brought up at the next dev meeting label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda item Items to be brought up at the next dev meeting
Projects
None yet
Development

No branches or pull requests

1 participant