-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Deprecated - VOLTHA
-
Labels:
-
Story Points:5
Explore several possible improvements to affinity router logging:
- Add kafka logging support (see bbsim and kafka-topic-exporter as examples)
- Look into moving items to TRACE level to reduce logging noise.
- Look into finer-grained control, similar to ONOS, that could adjust levels of different groups of log message. See if an existing golang package supports this feature.
- Examine how frames are printed (currently a series of bytes printed as decimal?) and see if they can be printed in a way that's easier to use. See if it's possible to decode gRPC frames and print the fields.
- Ensure that source/destination addresses and other header information is present.
- As arouter has a configuration/control API, see if that can be extended to allow log levels to be adjusted dynamically.
- Log-level should be configurable from helm chart values.yaml
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
14936,3 | VOL-1848 Print affinity router frames in hex, not decimal | master | voltha-go | Status: MERGED | +2 | +1 |
15038,21 | VOL-1848 loglevel commands | master | voltctl | Status: MERGED | +2 | +1 |
15043,19 | VOL-1848 API for setting and querying loglevel of api-server; Add source-router to support routing UpdateLogLevel to cores; Add logging endpoints to rocore | master | voltha-go | Status: MERGED | +2 | +1 |
15044,8 | VOL-1848 API for setting and querying loglevel in api-server | master | voltha-protos | Status: MERGED | +2 | +1 |
15048,8 | VOL-1848 Enable source-routing of Log ops; Enable local routing to arouter | master | voltha-helm-charts | Status: MERGED | +2 | +1 |
15217,1 | VOL-1848 release voltha-protos 1.0.1 | master | voltha-protos | Status: MERGED | +2 | +1 |
15275,2 | VOL-1848 API for setting and querying loglevel of api-server; Add source-router to support routing UpdateLogLevel to cores; Add logging endpoints to rocore | voltha-2.1 | voltha-go | Status: MERGED | +2 | +1 |