Limit logged headers in proxy_logging middleware
Currently all headers are logged if access_log_headers are enabled in proxy_logging middleware. By adding the option access_log_headers_only it is now possible to limit the logged headers to the given header values. DocImpact Change-Id: I0a1e40567c9eddc9bb00dd00373dc6eeb33d347c
This commit is contained in:
3 changed files with 38 additions and 3 deletions
@@ -466,6 +466,11 @@ use = egg:swift#proxy_logging
# access_log_statsd_metric_prefix =
# access_log_headers = false
#
# If access_log_headers is True and access_log_headers_only is set only
# these headers are logged. Multiple headers can be defined as comma separated
# list like this: access_log_headers_only = Host, X-Object-Meta-Mtime
# access_log_headers_only =
#
# By default, the X-Auth-Token is logged. To obscure the value,
# set reveal_sensitive_prefix to the number of characters to log.
# For example, if set to 12, only the first 12 characters of the
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.