incorrect reference in enabling audit middleware

there is no factory internally in AuditMiddleware. the docs
incorrectly reference definition used in pyCADF's version of
middleware

Change-Id: Ic1a941a747c8ec56578743b5c97f89fee07301c3
This commit is contained in:
gordon chung 2015-01-22 10:15:16 -05:00
parent 85c8830f15
commit bf96969a16
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ filter definition:
::
[filter:audit]
paste.filter_factory = keystonemiddleware.audit:AuditMiddleware.factory
paste.filter_factory = keystonemiddleware.audit:filter_factory
audit_map_file = /etc/nova/api_audit_map.conf
The filter should be included after Keystone middleware's auth_token middleware
@ -67,13 +67,13 @@ The location of the mapping file should be specified explicitly by adding the
path to the 'audit_map_file' option of the filter definition::
[filter:audit]
paste.filter_factory = keystonemiddleware.audit:AuditMiddleware.factory
paste.filter_factory = keystonemiddleware.audit:filter_factory
audit_map_file = /etc/nova/api_audit_map.conf
Additional options can be set::
[filter:audit]
paste.filter_factory = pycadf.middleware.audit:AuditMiddleware.factory
paste.filter_factory = pycadf.middleware.audit:filter_factory
audit_map_file = /etc/nova/api_audit_map.conf
service_name = test # opt to set HTTP_X_SERVICE_NAME environ variable
ignore_req_list = GET,POST # opt to ignore specific requests