swift/doc
Clay Gerrard 5af7719ef3 Support swift.proxy_logging_status in request env
When logging a request, if the request environ has a
swift.proxy_logging_status item then use its value for the log
message status int.

The swift.proxy_logging_status hint may be used by other middlewares
when the desired logged status is different from the wire_status_int.

If the proxy_logging middleware detects a client disconnect then any
swift.proxy_logging_status item is ignored and a 499 status int is
logged, as per current behaviour. i.e.:

  * client disconnect overrides swift.proxy_logging_status and the
    response status
  * swift.proxy_logging_status overrides the response status

If the proxy_logging middleware catches an exception then the logged
status int will be 500 regardless of any swift.proxy_logging_status
item.

Co-Authored-By: Alistair Coles <alistairncoles@gmail.com>
Change-Id: I9b5cc6d5fb69a2957b8c4846ce1feed8c115e6b6
2023-12-20 17:31:06 +00:00
..
manpages Remove per-service auto_create_account_prefix 2023-11-22 01:58:03 +09:00
s3api CI: Fix some known-failure formatting 2023-10-16 10:18:22 -07:00
saio docs/SAIO: Make reconciler use the SAIO convention for logs 2023-08-03 15:01:38 -05:00
source Support swift.proxy_logging_status in request env 2023-12-20 17:31:06 +00:00
requirements.txt Switch to newer openstackdocstheme and reno versions 2020-06-03 08:31:04 +02:00