_As a Mycroft developer I want this Skill to let me turn verbosity up on the command line interface so that I can better understand what’s going on inside of Mycroft.
eg. For example, I would say “Hey mycroft, In the CLI, set verbosity to (normal|high|very high).” If I said “high” then verbosity would go up, and I would see JSON intent packets printed for all forthcoming commands. I’d be much better able to debug failed commands.
What third party services, data sets or platforms will the Skill interact with?
None - all internal to Mycroft
Are there similar Mycroft Skills already?
I don’t know of any.
What will the user Speak to trigger the Skill?
In the CLI …
What phrases will Mycroft Speak?
Verbosity is now set to “value”
What Skill Settings will this Skill need to store?
Can’t think of any.
Other comments?
Besides verbosity level, it may be nice to turn code trace on or off also.
Currently the mapping of verbosity to log levels is “hardcoded” (low=ERROR, normal=INFO, high=DEBUG). If there is demand for it this could be made configurable in the skill settings.
Another possible enhancement could be a “increase/lower log level” intent, but I did not figure out yet how to retrieve the current loglevel.