e83bd0bc3c
Add a configuration option, 'use_oslo_messaging', to indicate whether to use oslo_messaging notifier. It is set to true for backwards compatibility. We can't use audit middleware with services like Swift, which have no dependency on Oslo and does not work well with oslo_log. Swift uses rsyslog. Currently, audit middleware indiscriminately chooses oslo_messaging if the package is installed. This is problematic if Swift proxy is on the same controller as any service which consumes oslo_messaging. With this new option, Swift can now safely consume audit middleware by electing to use local log notifier instead of oslo_messaging. Change-Id: I87bf857c20e4b78e97d40dcc51a1b4ff0014abb2 Closes-Bug: #1695038
14 lines
698 B
YAML
14 lines
698 B
YAML
---
|
|
features:
|
|
- >
|
|
[`bug 1695038 <https://bugs.launchpad.net/keystonemiddleware/+bug/1695038>`_]
|
|
The use_oslo_messaging configuration option is added for services such as
|
|
Swift, which need the audit middleware to use the local logger instead of
|
|
the oslo.messaging notifier regardless of whether the oslo.messaging package
|
|
is present or not.
|
|
Leave this option set to its default True value to keep the previous behavior
|
|
unchanged - the audit middleware will use the oslo.messaging notifier if the
|
|
oslo.messaging package is present, and the local logger otherwise.
|
|
Services that rely on the local logger for audit notifications must set this
|
|
option to False.
|