Related to logging, can verbosity also be added? (this was discussed in another thread).
For example, an utterance such as āHey Mycroft, be more verboseā would add a lot more information to the log files, Then āHey Mycroft, be very verboseā could both add to the log files, and also Mycroft would speak with much more detail about paths taken and decisions made.
Just my two centsā¦
-Mike M
Yeah I think we can get a lot better at logging the right things and being more consistent with how much is logged at different levels.
Iām also very interested with the proposed Services / Activities / Events structure at what this will mean for our ability to improve tracing and observability. Rather than making assumptions about what happened within the system based on logs, we should be able to know the relationship between the different activities and events that happen.
For example instead of the current scenario which might look like: āOK thereās a log line with some TTS output and then a few lines down this thing happened, so maybe something from that utterance caused a strange side effect?ā
We can work toward a complete ātracebackā: āthis error occured during this activity, which itself was part of this specific interactionā.
Tracing I think will help us to answer a lot of the questions we are asking in a much better way. But also - better logging is still better.
Agreed, in the code I write in my day job, all scripts have the flags verbose (-v), very verbose (-V) and trace (-x) (and if the scripts are in bash, itās easy to just do a āset -xā for trace).
-Mike M