Default oslo.policy logging to INFO

As of change https://review.openstack.org/619260/ to oslo.policy
a lot of information is logged at debug for every policy check,
which gets to be a lot of information in something like the
nova-api logs which does a policy check per API request. So this
change makes the default log level INFO for oslo.policy.

Change-Id: Ie4a114219a69390efd148b705fad05fd8b9a42de
Related-Bug: #1807747
This commit is contained in:
Matt Riedemann 2018-12-10 15:08:32 -05:00
parent 4a00a64a92
commit 7558bc7c5d
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN',
'keystonemiddleware=WARN', 'routes.middleware=WARN',
'stevedore=WARN', 'taskflow=WARN',
'keystoneauth=WARN', 'oslo.cache=INFO',
'oslo_policy=INFO',
'dogpile.core.dogpile=INFO']
_IGNORE_MESSAGE = "This option is ignored if log_config_append is set."