summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-19 04:42:46 +0000
committerGerrit Code Review <review@openstack.org>2015-09-19 04:42:46 +0000
commit0094b1b42ffc8fb2208a2590fb6842896f49a071 (patch)
treee6b91d38c593d7c64a09893e016658f70abb1aec /openstackclient/shell.py
parent33aacd94547f2b403a79b2bc89fc9b8d315b41de (diff)
parentd6788f7e7594bdcfa7d5c6cd980a9cb54918f355 (diff)
downloadpython-openstackclient-0094b1b42ffc8fb2208a2590fb6842896f49a071.tar.gz
Merge "Move option logging back to start if initialize_app()"
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index c08d619d..33589040 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -197,6 +197,8 @@ class OpenStackShell(app.App):
# Parent __init__ parses argv into self.options
super(OpenStackShell, self).initialize_app(argv)
+ self.log.info("START with options: %s", self.command_options)
+ self.log.debug("options: %s", self.options)
# Set the default plugin to token_endpoint if url and token are given
if (self.options.url and self.options.token):
@@ -239,8 +241,6 @@ class OpenStackShell(app.App):
self.log_configurator.configure(self.cloud)
self.dump_stack_trace = self.log_configurator.dump_trace
- self.log.info("START with options: %s", self.command_options)
- self.log.debug("options: %s", self.options)
self.log.debug("defaults: %s", cc.defaults)
self.log.debug("cloud cfg: %s", self.cloud.config)