Custom log handlers lost ability to register event listeners
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Zhi Yan Liu |
Bug Description
Since this patch was merged https:/
I would argue that in glance this is done too far in the init and definitely after log handlers are initialized. The solution I propose is to move the call to use_hubs to api entry point right before log.setup('glance') call and remove from glance.common.wsgi. May keep it as a public method on glance.
This is not an issue with glance registry bacause thread module is not mokey-patched
Any comments one this? Will there be any issue moving the call up?
description: | updated |
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Triaged → In Progress |
assignee: | nobody → Zhi Yan Liu (lzy-dev) |
Changed in glance: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/107021
Review: https:/