Skip to content

Commit 0094b1b

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Move option logging back to start if initialize_app()"
2 parents 33aacd9 + d6788f7 commit 0094b1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ def initialize_app(self, argv):
197197

198198
# Parent __init__ parses argv into self.options
199199
super(OpenStackShell, self).initialize_app(argv)
200+
self.log.info("START with options: %s", self.command_options)
201+
self.log.debug("options: %s", self.options)
200202

201203
# Set the default plugin to token_endpoint if url and token are given
202204
if (self.options.url and self.options.token):
@@ -239,8 +241,6 @@ def initialize_app(self, argv):
239241

240242
self.log_configurator.configure(self.cloud)
241243
self.dump_stack_trace = self.log_configurator.dump_trace
242-
self.log.info("START with options: %s", self.command_options)
243-
self.log.debug("options: %s", self.options)
244244
self.log.debug("defaults: %s", cc.defaults)
245245
self.log.debug("cloud cfg: %s", self.cloud.config)
246246

0 commit comments

Comments
 (0)