Merge "Drop policy check failures to DEBUG"

This commit is contained in:
Zuul 2021-02-20 17:35:26 +00:00 committed by Gerrit Code Review
commit 23d76e01f2
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def authorize(context, action, target, do_raise=True, exc=None):
LOG.exception('Policy not registered')
except Exception:
with excutils.save_and_reraise_exception():
LOG.error('Policy check for %(action)s failed with context '
LOG.debug('Policy check for %(action)s failed with context '
'%(credentials)s',
{'action': action,
'credentials': context.to_policy_values()})