Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix isEnabledFor for compatibility with logging
After refactoring Keystone to use the unified logging implementation from Oslo-incubator there were some issues using isEnabledFor with the ContextAdapter provided in keystone/openstack/common/log.py. This removes those calls and adds a check in keystone/common/wsgi.py to handle the case where Keystone is running Python 2.6, in which ContextAdapter doesn't have 'isEnabledFor'. fixes bug 1213284 Change-Id: I8c64b12dcd9d955c96dc5a48348555ff37b15116
- Loading branch information
Lance Bragstad
committed
Aug 20, 2013
1 parent
0b2a160
commit cfebb34
Showing
2 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters