summary refs log tree commit diff
path: root/docs/usage/administration
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-05-04 13:38:55 +0100
committerGitHub <noreply@github.com>2022-05-04 13:38:55 +0100
commitb2df0716bc0cf31b5f5f90a0599bc1d04a837e27 (patch)
tree9ad31082ead4d5514efb145f13575544391c0fb1 /docs/usage/administration
parentInclude bundled aggregations for the latest event in a thread. (#12273) (diff)
downloadsynapse-b2df0716bc0cf31b5f5f90a0599bc1d04a837e27.tar.xz
Improve logging for cancelled requests (#12587)
Don't log stack traces for cancelled requests and use a custom HTTP
status code of 499.

Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'docs/usage/administration')
-rw-r--r--docs/usage/administration/request_log.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usage/administration/request_log.md b/docs/usage/administration/request_log.md
index 316304c734..adb5f4f5f3 100644
--- a/docs/usage/administration/request_log.md
+++ b/docs/usage/administration/request_log.md
@@ -28,7 +28,7 @@ See the following for how to decode the dense data available from the default lo
 | NNNN  | Total time waiting for response to DB queries across all parallel DB work from this request |
 | OOOO  | Count of DB transactions performed |
 | PPPP  | Response body size |
-| QQQQ  | Response status code (prefixed with ! if the socket was closed before the response was generated) |
+| QQQQ  | Response status code<br/>Suffixed with `!` if the socket was closed before the response was generated.<br/>A `499!` status code indicates that Synapse also cancelled request processing after the socket was closed.<br/> |
 | RRRR  | Request |
 | SSSS  | User-agent |
 | TTTT  | Events fetched from DB to service this request (note that this does not include events fetched from the cache) |