summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index f7704efc..deb35b3c 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -29,8 +29,8 @@ from cliff import help
import openstackclient
from openstackclient.common import clientmanager
from openstackclient.common import commandmanager
-from openstackclient.common import context
from openstackclient.common import exceptions as exc
+from openstackclient.common import logs
from openstackclient.common import timing
from openstackclient.common import utils
@@ -98,7 +98,7 @@ class OpenStackShell(app.App):
def configure_logging(self):
"""Configure logging for the app."""
- self.log_configurator = context.LogConfigurator(self.options)
+ self.log_configurator = logs.LogConfigurator(self.options)
self.dump_stack_trace = self.log_configurator.dump_trace
def run(self, argv):
@@ -240,8 +240,6 @@ class OpenStackShell(app.App):
cloud=self.options.cloud,
argparse=self.options,
)
- if self.options.debug is not None:
- self.options.debug = False
self.log_configurator.configure(self.cloud)
self.dump_stack_trace = self.log_configurator.dump_trace