keystonemiddleware/keystonemiddleware/audit
Stefan Nica e83bd0bc3c Add option to disable using oslo_message notifier
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
2018-02-20 11:26:22 +01:00
..
__init__.py Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00
_api.py Remove log translations 2017-05-02 09:58:02 +08:00
_notifier.py Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00