Enhance the logger to include additional contextual information in logs
Currently, the logger does not provide any means to the drivers or consumers to add any additional contextual information other than the one that has been baked into the logger e.g. instanceId
The blueprint is going to add the flexibility to the logger, so that if needed the consumer of the logger could add some contextual data that can then show up in the logs without changing the individual log statements throughout the code.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Sidharth Surana
- Direction:
- Needs approval
- Assignee:
- Sidharth Surana
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
-
Started
- Milestone target:
- None
- Started by
- Sidharth Surana
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Adds sub-context support for logger
We are trying to eliminate the use of the ContextAdapter, since that requires consuming libraries to use oslo's logging module directly. The goal lis to have everything in place so the ContextFormatter can be configured and used by an application, without the libraries knowing. See https:/
Moving this out of I3 until we can find a good approach. -- dhellmann
Work Items
Dependency tree

* Blueprints in grey have been implemented.