diff --git a/devstack/env_rc.py b/devstack/env_rc.py index b9d56c12..e9c0755d 100644 --- a/devstack/env_rc.py +++ b/devstack/env_rc.py @@ -20,7 +20,6 @@ import re from devstack import date from devstack import env from devstack import log as logging -from devstack import settings from devstack import shell as sh from devstack import utils diff --git a/stack b/stack index d6d8a27e..ef1accb9 100755 --- a/stack +++ b/stack @@ -86,11 +86,11 @@ def load_rc_files(): fns = [settings.OSRC_FN] for fn in fns: try: - LOG.debug("Attempting to load rc file at [%s] which has your environment settings." % (fn)) + LOG.info("Attempting to load file %r which has your environment settings." % (fn)) am_loaded = env_rc.RcReader().load(fn) - LOG.debug("Loaded [%s] settings from rc file [%s]" % (am_loaded, fn)) + LOG.info("Loaded %s settings from file %r" % (am_loaded, fn)) except IOError: - LOG.warn('Error reading rc file located at [%s]. Skipping loading it.' % (fn)) + LOG.warn('Error reading file located at %r. Skipping loading it.' % (fn)) return len(fns) @@ -165,9 +165,9 @@ def run(args): runner.run(persona_inst, root_dir) end_time = time.time() - LOG.info("It took (%s) to complete action [%s]" % + LOG.info("It took (%s) to complete action %r" % (utils.format_secs_taken((end_time - start_time)), action)) - LOG.info("After action [%s] your settings which were created or read are:" % (action)) + LOG.info("After action %r your settings which were created or read are:" % (action)) dump_config(config.configs_fetched) return True