Merge "Make log levels more adequate"
This commit is contained in:
commit
6c262f7ee0
@ -123,19 +123,19 @@ class CastellanConfigurationSource(sources.ConfigurationSource):
|
|||||||
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# no mapping 'option = castellan_id'
|
# no mapping 'option = castellan_id'
|
||||||
LOG.info("option '[%s] %s' not present in '[%s] mapping_file'",
|
LOG.debug("option '[%s] %s' not present in '[%s] mapping_file'",
|
||||||
group_name, option_name, self._name)
|
group_name, option_name, self._name)
|
||||||
|
|
||||||
except KeyManagerError:
|
except KeyManagerError:
|
||||||
# bad mapping 'option =' without a castellan_id
|
# bad mapping 'option =' without a castellan_id
|
||||||
LOG.warning("missing castellan_id for option "
|
LOG.error("missing castellan_id for option '[%s] %s' in '[%s] "
|
||||||
"'[%s] %s' in '[%s] mapping_file'",
|
"mapping_file'",
|
||||||
group_name, option_name, self._name)
|
group_name, option_name, self._name)
|
||||||
|
|
||||||
except ManagedObjectNotFoundError:
|
except ManagedObjectNotFoundError:
|
||||||
# good mapping, but unknown castellan_id by secret manager
|
# good mapping, but unknown castellan_id by secret manager
|
||||||
LOG.warning("invalid castellan_id for option "
|
LOG.error("invalid castellan_id for option '[%s] %s' in '[%s] "
|
||||||
"'[%s] %s' in '[%s] mapping_file'",
|
"mapping_file'",
|
||||||
group_name, option_name, self._name)
|
group_name, option_name, self._name)
|
||||||
|
|
||||||
return (sources._NoValue, None)
|
return (sources._NoValue, None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user