Remove ContextAdapter from logging
Requiring projects to use the ContextAdapter in order to use oslo logging is a problem because it means third party code can't log with the same formatter that oslo-aware code can. We've started moving in the direction of having all the necessary logic from ContextAdapter right in ContextFormatter, but there is more that needs to happen before that will be a reality.
Blueprint information
- Status:
- Complete
- Approver:
- Doug Hellmann
- Priority:
- Medium
- Drafter:
- Ben Nemec
- Direction:
- Needs approval
- Assignee:
- Doug Hellmann
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
-
Implemented
- Milestone target:
-
0.1.0
- Started by
- Doug Hellmann
- Completed by
- Doug Hellmann
Related branches
Related bugs
Sprints
Whiteboard
We need to ensure that all of the defaults set by ContextAdapter.
We also need to make sure ContextFormatter can handle Message objects (and other unicode-like things) the way ContextAdapter does: https:/
Gerrit topic: https:/
Addressed by: https:/
add spec for remove-
Addressed by: https:/
Correct coercion of logged message to unicode
Addressed by: https:/
Add unicode coercion of logged messages to ContextFormatter
Updating milestone and approval settings prior to kilo. - dhellmann
Updated spec for kilo: https:/
Addressed by: https:/
Add KeywordArgument
Addressed by: https:/
Move adapter properties to base class
Addressed by: https:/
Switch from ContextAdapter to ContextFormatter
Addressed by: https:/
Remove audit log level
Work Items
Dependency tree

* Blueprints in grey have been implemented.