INFRA-1593 - update a couple of log message levels.

This commit is contained in:
Tom Williams 2016-06-27 13:39:53 -04:00
parent d618464ae7
commit 90b03d9c67

View File

@ -111,7 +111,7 @@ def exists(name, region=None, key=None, keyid=None, profile=None):
log.debug(msg) log.debug(msg)
return False return False
except boto.exception.BotoServerError as error: except boto.exception.BotoServerError as error:
log.debug(error) log.warning(error)
return False return False
@ -130,7 +130,7 @@ def get_all_elbs(region=None, key=None, keyid=None, profile=None):
try: try:
return [e for e in conn.get_all_load_balancers()] return [e for e in conn.get_all_load_balancers()]
except boto.exception.BotoServerError as error: except boto.exception.BotoServerError as error:
log.debug(error) log.warning(error)
return [] return []
@ -145,7 +145,8 @@ def list_elbs(region=None, key=None, keyid=None, profile=None):
salt myminion boto_elb.list_elbs region=us-east-1 salt myminion boto_elb.list_elbs region=us-east-1
''' '''
return [e.name for e in get_all_elbs(region=region, key=key, keyid=keyid, profile=profile)] return [e.name for e in get_all_elbs(region=region, key=key, keyid=keyid,
profile=profile)]
def get_elb_config(name, region=None, key=None, keyid=None, profile=None): def get_elb_config(name, region=None, key=None, keyid=None, profile=None):