-
Notifications
You must be signed in to change notification settings - Fork 33
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
dcp_inspect verbosity levels change #18
Comments
Makes sense, yes. Instead of replacing the current mechanism I'd prefer some added verbosity monikers to do what you need, though. I'm having a terrible thought: -v, -vv, -vvv, ... Or: How about we allow a list of monikers, like -v cpl,errors,...? |
Yes, I think the list of monikers idea is probably the way to go as opposed to the -vv, although I would be okay with that option as well. I am personally interested in a combination of info and errors, the other categories do not interest me as much. |
Done. Saying e.g. And thanks for suggesting the feature. It's much better with this. |
Thanks for updating it! I appreciate the help and I'll let you know. |
I noticed from the code that dcp_inspect sets the log level to only show the information that you have specified and sets the other flags to false. Could it be changed to include information from the level you specify and higher log levels?
Here's how I might see the order of log levels from lowest to highest:
debug, cr, hints, cpl, info, errors
As such, setting to to "info" would include errors and setting it to "hints" would include all info but debug and cr. Does that make sense? I can submit a sample patch.
The text was updated successfully, but these errors were encountered: