Log request ID
Each request to the API should have a unique request ID. For example:
req-15187ebf-
This is built into oslo. The request ID should be in each log message generated by heat-engine and heat-api.
In a production Heat deployment, this would facilitate tracing the conversation through all the tiers and aid in debugging.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Jason Dunsmore
- Direction:
- Needs approval
- Assignee:
- Daniel Givens
- Definition:
- Review
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Daniel Givens
- Completed by
- Angus Salkeld
Related branches
Related bugs
Bug #1435588: request-ids aren't being logged for any cinder.api.openstack.wsgi [-] | Fix Released |
Sprints
Whiteboard
Also log the Rackspace resource ID of Rackspace resources.
This should also include logging PIDs for multi-engine deployments: https:/
^^^ This should go into a separate blueprint.
Gerrit topic: https:/
Addressed by: https:/
Enabled request_id in RequestContext to enable logging on request id's