Open kzangeli opened 8 years ago
Part of this is how to set in an easy way the logging for payload messages that Orion sends/receives. The CLI could be as follows:
-t flow:<communications_point>:<request|response|all>
Eg:
- t flow:ngsi:all,flow:cpr:response,flow:notif:request
Communications points:
ngsi
notif
cpr
sender
The trace levels right now are based on numbers:
This is not very user friendly. Also, in order to have similar trace level grouped together, sometimes trace levels change its number. All very confusing.
We should use strings for the trace levels instead:
-t mongoXXX,restYYY
As an extra, we might support wildcards:
The old trace levels wont disappear, but this new way will be added (and configurable which method you want to use).
Effort: 5 man day