Request id doesn't appear in logs
Bug #879582 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Vish Ishaya | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We have some fancy logging modifications to show information from the context object, but we don't pass the context object into the logs. We should either:
a) add the context object to as many logs as possible
or
b) store the most recent context object in greenthread local storage so that we can access it when we log
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
importance: | Low → Medium |
importance: | Medium → Low |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/1022 github. com/openstack/ nova/commit/ 7cca5a8ff7f559d a60c03405f69f78 a42c763b61
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 7cca5a8ff7f559d a60c03405f69f78 a42c763b61
Author: Vishvananda Ishaya <email address hidden>
Date: Fri Oct 21 11:18:11 2011 -0700
Add local storage of context for logging
* adds nova/local.py:store for storing greenthread local data
* saves a weak reference to the last context object created
* uses the last context object if it exists for logging
* Fixes bug 879582
Cc: stable-maintainers e8e7d23c807a65b 12111db96eb
Change-Id: Ic373556ce197f2