Add log to determine whether clients are using /messages as expected (#19226)

Spawning from wanting some better homeserver logs to debug
https://github.com/element-hq/synapse/issues/19153. We can check whether
we are returning a `/messages` response with an `end` pagination token
and then check to see whether the client is making another `/messages`
request with that token.

Although clients should also have similar logs and debugging
capabilities to determine this info as well. This just makes it easier
for us when someone creates an issue claiming backend issue and we can
ask them for homeserver logs.
This commit is contained in:
Eric Eastwood
2025-12-01 17:10:22 -06:00
committed by GitHub
parent 08e1b63b30
commit 88310fe7ed
4 changed files with 210 additions and 42 deletions

1
changelog.d/19226.misc Normal file
View File

@@ -0,0 +1 @@
Add log to determine whether clients are using `/messages` as expected.