Merge pull request #15820 from techhat/tracelog

Changing log messages to trace level
This commit is contained in:
Pedro Algarvio 2014-09-16 16:55:11 +01:00
commit f2f9f2bbd4
2 changed files with 7 additions and 7 deletions

View File

@ -1328,7 +1328,7 @@ def apply_vm_profiles_config(providers, overrides, defaults=None):
if ':' in details['provider']:
alias, driver = details['provider'].split(':')
if alias not in providers or driver not in providers[alias]:
log.warning(
log.trace(
'The profile {0!r} is defining {1[provider]!r} as the '
'provider. Since there\'s no valid configuration for '
'that provider, the profile will be removed from the '
@ -1342,7 +1342,7 @@ def apply_vm_profiles_config(providers, overrides, defaults=None):
providers[alias][driver]['profiles'][profile] = details
if details['provider'] not in providers:
log.warning(
log.trace(
'The profile {0!r} is defining {1[provider]!r} as the '
'provider. Since there\'s no valid configuration for '
'that provider, the profile will be removed from the '
@ -1377,7 +1377,7 @@ def apply_vm_profiles_config(providers, overrides, defaults=None):
if ':' not in extended['provider']:
if extended['provider'] not in providers:
log.warning(
log.trace(
'The profile {0!r} is defining {1[provider]!r} as the '
'provider. Since there\'s no valid configuration for '
'that provider, the profile will be removed from the '
@ -1394,7 +1394,7 @@ def apply_vm_profiles_config(providers, overrides, defaults=None):
else:
alias, driver = extended['provider'].split(':')
if alias not in providers or driver not in providers[alias]:
log.warning(
log.trace(
'The profile {0!r} is defining {1[provider]!r} as the '
'provider. Since there\'s no valid configuration for '
'that provider, the profile will be removed from the '
@ -1737,7 +1737,7 @@ def is_provider_configured(opts, provider, required_keys=()):
if opts['providers'][alias][driver].get(key, None) is None:
# There's at least one require configuration key which is not
# set.
log.warn(
log.trace(
'The required {0!r} configuration setting is missing on '
'the {1!r} driver(under the {2!r} alias)'.format(
key, provider, alias
@ -1760,7 +1760,7 @@ def is_provider_configured(opts, provider, required_keys=()):
if provider_details.get(key, None) is None:
# This provider does not include all necessary keys,
# continue to next one
log.warn(
log.trace(
'The required {0!r} configuration setting is missing '
'on the {1!r} driver(under the {2!r} alias)'.format(
key, provider, alias

View File

@ -443,7 +443,7 @@ def clouds(opts):
functions = load.gen_functions(pack)
for funcname in LIBCLOUD_FUNCS_NOT_SUPPORTED:
log.debug(
log.trace(
'{0!r} has been marked as not supported. Removing from the list '
'of supported cloud functions'.format(
funcname