Enables debug mode for keystone session object
This fixes the lack of debug messages introduced by commit 84af49c
.
Change-Id: I7bf3e98c21f09bd4f3c2d5d3bc372f60d717c9d5
Closes-bug: #1370152
This commit is contained in:
@@ -486,6 +486,9 @@ class OpenStackCinderShell(object):
|
||||
client_logger.addHandler(ch)
|
||||
if hasattr(requests, 'logging'):
|
||||
requests.logging.getLogger(requests.__name__).addHandler(ch)
|
||||
# required for logging when using a keystone session
|
||||
ks_logger = logging.getLogger("keystoneclient")
|
||||
ks_logger.setLevel(logging.DEBUG)
|
||||
|
||||
def main(self, argv):
|
||||
|
||||
|
Reference in New Issue
Block a user