Silence debug logging from oslo_policy

While it's not entirely useless, it's extremely verbose and account
for 2/3 of ironic-api logs even when keystone is disabled.

Change-Id: I991d2af7eb6987830a5fa449026f43ac7a09fcff
This commit is contained in:
Dmitry Tantsur 2021-08-24 20:01:19 +02:00
parent 067b0a2716
commit 7748b154b0

View File

@ -86,5 +86,7 @@ def update_opt_defaults():
'keystonemiddleware.auth_token=INFO', 'keystonemiddleware.auth_token=INFO',
'keystoneauth.session=INFO', 'keystoneauth.session=INFO',
'openstack=WARNING', 'openstack=WARNING',
# Policy logging is not necessarily useless, but very verbose
'oslo_policy=WARNING',
] ]
) )