-
Type: Task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.5
-
Component/s: openolt-adapter, voltha-lib-go
-
Labels:
-
Story Points:5
-
Epic Link:
In order to support propagation of Span Context down the execution path, modify voltha components to change function signatures to add context.Context as the first parameter (if not already present) in all the methods which are performing logging and hence needs the context.
Ensure the variable name used across for this parameter is ‘ctx’.
Also, set logger variable to CLogger instance in common.go and modify the logger statements to use new Context Aware logger.